SDLAudioStream: Fix volume not applying
This commit is contained in:
parent
eefbd8f6a6
commit
6e7f1501b5
|
@ -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() {}
|
||||
|
|
Loading…
Reference in New Issue