summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emu/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/sound.cpp b/src/emu/sound.cpp
index 3d235ab8151..139e6339089 100644
--- a/src/emu/sound.cpp
+++ b/src/emu/sound.cpp
@@ -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());
}