From 7527e341631b4cd7c60c178c104e153d5bcc00b7 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 11 Jan 2010 07:58:55 +0000 Subject: [PATCH] Removed incorrect SDL_GetAudioDeviceName() call from loopwave.c. SDL_GetAudioDeviceName(1, 0) does not mean "name of the default output device." --- test/loopwave.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/loopwave.c b/test/loopwave.c index 9278b0ccc..da6fec9d2 100644 --- a/test/loopwave.c +++ b/test/loopwave.c @@ -102,11 +102,7 @@ main(int argc, char *argv[]) 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);