Commit 48490a528ad533a8d6e0d67013005e7947457460

Philipp Wiesemann 2016-08-30T21:16:04

Fixed log message in audio capture test program.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/testaudiocapture.c b/test/testaudiocapture.c
index 14bac97..26321a7 100644
--- a/test/testaudiocapture.c
+++ b/test/testaudiocapture.c
@@ -135,7 +135,7 @@ main(int argc, char **argv)
     SDL_Log("Opening default playback device...\n");
     devid_out = SDL_OpenAudioDevice(NULL, SDL_FALSE, &wanted, &spec, SDL_AUDIO_ALLOW_ANY_CHANGE);
     if (!devid_out) {
-        SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't open an audio device for capture: %s!\n", SDL_GetError());
+        SDL_LogError(SDL_LOG_CATEGORY_APPLICATION, "Couldn't open an audio device for playback: %s!\n", SDL_GetError());
         SDL_Quit();
         exit(1);
     }