diff --git a/app/streaming/audio/renderers/sdlaud.cpp b/app/streaming/audio/renderers/sdlaud.cpp index a990680f..72e4b9b1 100644 --- a/app/streaming/audio/renderers/sdlaud.cpp +++ b/app/streaming/audio/renderers/sdlaud.cpp @@ -113,14 +113,14 @@ bool SdlAudioRenderer::prepareForPlayback(const OPUS_MULTISTREAM_CONFIGURATION* } SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, - "Desired audio buffer: %d samples (%d bytes)", + "Desired audio buffer: %u samples (%lu bytes)", want.samples, want.samples * sizeof(short) * want.channels); SDL_LogInfo(SDL_LOG_CATEGORY_APPLICATION, - "Obtained audio buffer: %d samples (%d bytes)", + "Obtained audio buffer: %u samples (%u bytes)", have.samples, - have.samples * sizeof(short) * have.channels); + have.size); // SDL counts pending samples in the queued // audio size using the WASAPI backend. This