diff options
Diffstat (limited to 'src/devices/sound/rp2c33_snd.cpp')
-rw-r--r-- | src/devices/sound/rp2c33_snd.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/sound/rp2c33_snd.cpp b/src/devices/sound/rp2c33_snd.cpp index e50ce857f89..43cfbf46049 100644 --- a/src/devices/sound/rp2c33_snd.cpp +++ b/src/devices/sound/rp2c33_snd.cpp @@ -221,9 +221,9 @@ void rp2c33_sound_device::write(offs_t offset, u8 data) // sound_stream_update - handle a stream update //------------------------------------------------- -void rp2c33_sound_device::sound_stream_update(sound_stream &stream, std::vector<read_stream_view> const &inputs, std::vector<write_stream_view> &outputs) +void rp2c33_sound_device::sound_stream_update(sound_stream &stream) { - for (int i = 0; i < outputs[0].samples(); i++) + for (int i = 0; i < stream.samples(); i++) { m_output = 0; if (!m_env_halt && !m_wave_halt) @@ -234,7 +234,7 @@ void rp2c33_sound_device::sound_stream_update(sound_stream &stream, std::vector< exec_mod(); exec_wave(); /* Update the buffers */ - outputs[0].put_int(i, m_output * m_mvol_table[m_mvol], 32768); + stream.put_int(0, i, m_output * m_mvol_table[m_mvol], 32768); } } |