diff options
author | 2016-10-06 16:42:58 +0100 | |
---|---|---|
committer | 2016-10-06 16:46:11 +0100 | |
commit | 4227f6052ad051c9515f72c59e3b089204b0b847 (patch) | |
tree | 13a85cc925b5be2f3bbad8d9664bdf3f4fead86e | |
parent | 38d6d6ace413ffbbc8f3ae3bf5ff8a9fc80537c7 (diff) |
update stream before setting the new gain. (nw)
-rw-r--r-- | src/devices/sound/flt_vol.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/sound/flt_vol.cpp b/src/devices/sound/flt_vol.cpp index e980b502b8e..e209e44a5ed 100644 --- a/src/devices/sound/flt_vol.cpp +++ b/src/devices/sound/flt_vol.cpp @@ -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); } |