mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-23 10:53:27 +08:00
testsurround: Log available audio output devices at the start.
This commit is contained in:
parent
ae3090c387
commit
b0edd23c00
@ -183,6 +183,11 @@ int main(int argc, char *argv[])
|
||||
devcount = 0;
|
||||
}
|
||||
|
||||
SDL_Log("Available audio devices:");
|
||||
for (i = 0; i < devcount; i++) {
|
||||
SDL_Log("%s", SDL_GetAudioDeviceName(devices[i]));
|
||||
}
|
||||
|
||||
for (i = 0; i < devcount; i++) {
|
||||
SDL_AudioStream *stream = NULL;
|
||||
char *devname = SDL_GetAudioDeviceName(devices[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user