Commit fe16084075e95029a4112c4d5f3885cfdd428b86

Ryan C. Gordon 2022-07-19T16:04:48

audio: LOG_DEBUG_CONVERT should use SDL_Log, not fprintf(stderr).

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/audio/SDL_audio_c.h b/src/audio/SDL_audio_c.h
index 3f22cd6..147ac05 100644
--- a/src/audio/SDL_audio_c.h
+++ b/src/audio/SDL_audio_c.h
@@ -29,7 +29,7 @@
 #endif
 
 #if DEBUG_CONVERT
-#define LOG_DEBUG_CONVERT(from, to) fprintf(stderr, "Converting %s to %s.\n", from, to);
+#define LOG_DEBUG_CONVERT(from, to) SDL_Log("SDL_AUDIO_CONVERT: Converting %s to %s.\n", from, to);
 #else
 #define LOG_DEBUG_CONVERT(from, to)
 #endif