Mercurial > sdl-ios-xcode
changeset 3638:6e70cf55a368
Removed incorrect SDL_GetAudioDeviceName() call from loopwave.c.
SDL_GetAudioDeviceName(1, 0) does not mean "name of the default output device."
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 11 Jan 2010 07:58:55 +0000 |
parents | 8a46b3eab813 |
children | 6f4c5b0aba7c |
files | test/loopwave.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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);