Make audio debug logs more readable

This commit is contained in:
Cameron Gutman
2020-04-04 12:53:03 -07:00
parent c98ef6e8a9
commit 15342190fa
2 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -81,9 +81,9 @@ bool SdlAudioRenderer::prepareForPlayback(const OPUS_MULTISTREAM_CONFIGURATION*
}
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
"Desired audio buffer: %u samples (%zu bytes)",
"Desired audio buffer: %u samples (%u bytes)",
want.samples,
want.samples * sizeof(short) * want.channels);
want.samples * (Uint32)sizeof(short) * want.channels);
SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION,
"Obtained audio buffer: %u samples (%u bytes)",