Removed incorrect SDL_GetAudioDeviceName() call from loopwave.c.
SDL_GetAudioDeviceName(1, 0) does not mean "name of the default output device." --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404389
This commit is contained in:
parent
975ee45243
commit
b9cd3d04fb
1 changed files with 0 additions and 4 deletions
|
@ -102,11 +102,7 @@ main(int argc, char *argv[])
|
||||||
quit(2);
|
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 driver: %s\n", SDL_GetCurrentAudioDriver());
|
||||||
printf("Using audio device: %s\n", SDL_GetAudioDeviceName(1, 0));
|
|
||||||
|
|
||||||
/* Let the audio run */
|
/* Let the audio run */
|
||||||
SDL_PauseAudio(0);
|
SDL_PauseAudio(0);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue