From b0edd23c00b7ce76ba2075976bfb283d29c79891 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sun, 30 Jul 2023 11:57:30 -0400 Subject: [PATCH] testsurround: Log available audio output devices at the start. --- test/testsurround.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/testsurround.c b/test/testsurround.c index d9cb006e0c..c759d073e4 100644 --- a/test/testsurround.c +++ b/test/testsurround.c @@ -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]);