SDLAudioStream: Fix volume not applying

This commit is contained in:
Connor McLaughlin 2020-12-12 11:50:48 +10:00
parent eefbd8f6a6
commit 6e7f1501b5
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ void SDLAudioStream::AudioCallback(void* userdata, uint8_t* stream, int len)
SDLAudioStream* const this_ptr = static_cast<SDLAudioStream*>(userdata);
const u32 num_frames = len / sizeof(SampleType) / this_ptr->m_channels;
this_ptr->ReadFrames(reinterpret_cast<SampleType*>(stream), num_frames, false);
this_ptr->ReadFrames(reinterpret_cast<SampleType*>(stream), num_frames, true);
}
void SDLAudioStream::FramesAvailable() {}