Removed incorrect SDL_GetAudioDeviceName() call from loopwave.c.
authorRyan C. Gordon <icculus@icculus.org>
Mon, 11 Jan 2010 07:58:55 +0000
changeset 36386e70cf55a368
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
     1.1 --- a/test/loopwave.c	Mon Jan 11 07:45:34 2010 +0000
     1.2 +++ b/test/loopwave.c	Mon Jan 11 07:58:55 2010 +0000
     1.3 @@ -102,11 +102,7 @@
     1.4          quit(2);
     1.5      }
     1.6  
     1.7 -    /* Right now we're using the 1.2 SDL_OpenAudio(), but if we move to the
     1.8 -       1.3 device enumeration version, we shouldn't hardcore device id #1 for
     1.9 -       SDL_GetAudioDeviceName(), below. */
    1.10      printf("Using audio driver: %s\n", SDL_GetCurrentAudioDriver());
    1.11 -    printf("Using audio device: %s\n", SDL_GetAudioDeviceName(1, 0));
    1.12  
    1.13      /* Let the audio run */
    1.14      SDL_PauseAudio(0);