mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
update stream before setting the new gain. (nw)
This commit is contained in:
parent
38d6d6ace4
commit
4227f6052a
@ -48,5 +48,6 @@ void filter_volume_device::sound_stream_update(sound_stream &stream, stream_samp
|
||||
|
||||
void filter_volume_device::flt_volume_set_volume(float volume)
|
||||
{
|
||||
m_stream->update();
|
||||
m_gain = (int)(volume * 256);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user