# HG changeset patch # User Ryan C. Gordon # Date 1263196735 0 # Node ID 6e70cf55a3686ea68ba4dfb7e3418879d051a54d # Parent 8a46b3eab813f26273b3b8dedd55351f52648023 Removed incorrect SDL_GetAudioDeviceName() call from loopwave.c. SDL_GetAudioDeviceName(1, 0) does not mean "name of the default output device." diff -r 8a46b3eab813 -r 6e70cf55a368 test/loopwave.c --- a/test/loopwave.c Mon Jan 11 07:45:34 2010 +0000 +++ b/test/loopwave.c Mon Jan 11 07:58:55 2010 +0000 @@ -102,11 +102,7 @@ quit(2); } - /* Right now we're using the 1.2 SDL_OpenAudio(), but if we move to the - 1.3 device enumeration version, we shouldn't hardcore device id #1 for - SDL_GetAudioDeviceName(), below. */ printf("Using audio driver: %s\n", SDL_GetCurrentAudioDriver()); - printf("Using audio device: %s\n", SDL_GetAudioDeviceName(1, 0)); /* Let the audio run */ SDL_PauseAudio(0);