From 6e7f1501b53ac09a823038b965d91b87fc5307d5 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Sat, 12 Dec 2020 11:50:48 +1000 Subject: [PATCH] SDLAudioStream: Fix volume not applying --- src/frontend-common/sdl_audio_stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend-common/sdl_audio_stream.cpp b/src/frontend-common/sdl_audio_stream.cpp index c88c7d7a0..29c1c0ea4 100644 --- a/src/frontend-common/sdl_audio_stream.cpp +++ b/src/frontend-common/sdl_audio_stream.cpp @@ -87,7 +87,7 @@ void SDLAudioStream::AudioCallback(void* userdata, uint8_t* stream, int len) SDLAudioStream* const this_ptr = static_cast(userdata); const u32 num_frames = len / sizeof(SampleType) / this_ptr->m_channels; - this_ptr->ReadFrames(reinterpret_cast(stream), num_frames, false); + this_ptr->ReadFrames(reinterpret_cast(stream), num_frames, true); } void SDLAudioStream::FramesAvailable() {}