diff options
author | 2025-04-29 02:25:35 -0700 | |
---|---|---|
committer | 2025-04-29 11:25:35 +0200 | |
commit | 3ee6996a1a9caa205c3055bfe5afce905308ff06 (patch) | |
tree | 47c9534e994878c95f4ac0808de078ced5da7336 | |
parent | 099e3a6a8574e919d9b7b472dc73691cfc119cfb (diff) |
oberheim/dmx.cpp: Adapting to new sound interface. (#13637)
-rw-r--r-- | src/mame/oberheim/dmx.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/oberheim/dmx.cpp b/src/mame/oberheim/dmx.cpp index 3e81519f9d8..9e69528908b 100644 --- a/src/mame/oberheim/dmx.cpp +++ b/src/mame/oberheim/dmx.cpp @@ -1222,8 +1222,8 @@ void dmx_state::update_mix_level(int voice) const float rc_c = (voice == METRONOME_INDEX) ? PB_C24 : VC_C10; m_voice_rc[voice]->filter_rc_set_RC(filter_rc_device::HIGHPASS, rc_r, 0, 0, rc_c); - m_left_mixer->set_input_gain(voice, gain_left); - m_right_mixer->set_input_gain(voice, gain_right); + m_voice_rc[voice]->set_route_gain(0, m_left_mixer, 0, gain_left); + m_voice_rc[voice]->set_route_gain(0, m_right_mixer, 0, gain_right); LOGMASKED(LOG_FADERS, "Voice %d volume changed to: %d (gain L:%f, R:%f), HPF cutoff: %.2f Hz\n", voice, pot_percent, gain_left, gain_right, 1.0F / (2 * float(M_PI) * r_gnd * rc_c)); |