X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=tests%2Fsoundtest.c;fp=tests%2Fsoundtest.c;h=5540624ad564da77b58481b81af23cbdb9cbe6a0;hb=6f7ca2daf591a9cc427e8174daf4a07f3e7728ab;hp=b0a380042746e891876e7172513b00795485767a;hpb=8f5765dbc7691ac4b6b68b65ba40e7d815507c3a;p=projects%2Fchimara%2Fchimara.git diff --git a/tests/soundtest.c b/tests/soundtest.c index b0a3800..5540624 100644 --- a/tests/soundtest.c +++ b/tests/soundtest.c @@ -8,18 +8,10 @@ void glk_main(void) { - if(!glk_gestalt(gestalt_Sound, 0)) { + if(!glk_gestalt(gestalt_Sound2, 0)) { fprintf(stderr, "Sound not supported.\n"); return; } - if(!glk_gestalt(gestalt_SoundVolume, 0)) { - fprintf(stderr, "Sound volume not supported.\n"); - return; - } - if(!glk_gestalt(gestalt_SoundNotify, 0)) { - fprintf(stderr, "Sound notification not supported.\n"); - return; - } schanid_t sc[NUM_CHANNELS]; int count;