mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
sound: Fix bug where gain was doubly-applied in some cases.
This commit is contained in:
parent
20bdbf71b1
commit
0e4e6a5db7
@ -532,7 +532,7 @@ read_stream_view sound_stream_input::update(attotime start, attotime end)
|
||||
m_resampler_source->set_end_time(end);
|
||||
|
||||
// update the source, returning a view of the needed output over the start and end times
|
||||
return source.stream().update_view(start, end, source.index()).apply_gain(m_gain * m_user_gain * m_native_source->gain());
|
||||
return source.stream().update_view(start, end, source.index()).apply_gain(m_gain * m_user_gain * source.gain());
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user