summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices
diff options
context:
space:
mode:
author MooglyGuy <MooglyGuy@users.noreply.github.com>2018-08-22 16:44:59 +0200
committer GitHub <noreply@github.com>2018-08-22 16:44:59 +0200
commit0c5949c184b1bd5a152a5bfb2c768f01a257727e (patch)
treea18a0f48dc24a1e9834506f3dc2f47cd9ccfc86b /src/devices
parentd1f79a39b3c85cf29357bc3b7ded89900563ea44 (diff)
parentcba3ac3ac1ca5bca94e1564890bcadf033fa7d50 (diff)
Merge pull request #3884 from superctr/qsoundhle_adpcm
qsoundhle.cpp: fix ADPCM playback
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/sound/qsoundhle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/sound/qsoundhle.cpp b/src/devices/sound/qsoundhle.cpp
index 4465adcacc6..833c31c2e97 100644
--- a/src/devices/sound/qsoundhle.cpp
+++ b/src/devices/sound/qsoundhle.cpp
@@ -523,7 +523,7 @@ void qsound_hle_device::state_normal_update()
// update ADPCM voices (one every third sample)
const int adpcm_voice = m_state_counter % 3;
- m_adpcm[adpcm_voice].update(*this, m_voice_output[16 + adpcm_voice], m_state_counter / 3);
+ m_voice_output[16 + adpcm_voice] = m_adpcm[adpcm_voice].update(*this, m_voice_output[16 + adpcm_voice], m_state_counter / 3);
int16_t echo_output = m_echo.apply(echo_input);