mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-04-27 14:05:41 -04:00
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…
x
Reference in New Issue
Block a user