Removed incorrect SDL_GetAudioDeviceName() call from loopwave.c.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 11 Jan 2010 07:58:55 +0000
changeset 3638 6e70cf55a368
parent 3637 8a46b3eab813
child 3639 6f4c5b0aba7c
Removed incorrect SDL_GetAudioDeviceName() call from loopwave.c. SDL_GetAudioDeviceName(1, 0) does not mean "name of the default output device."
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);