diff options
Diffstat (limited to 'src/devices/sound/iremga20.cpp')
-rw-r--r-- | src/devices/sound/iremga20.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/devices/sound/iremga20.cpp b/src/devices/sound/iremga20.cpp index b87c9f26da0..99c7a823cf9 100644 --- a/src/devices/sound/iremga20.cpp +++ b/src/devices/sound/iremga20.cpp @@ -130,12 +130,9 @@ void iremga20_device::rom_bank_pre_change() // sound_stream_update - handle a stream update //------------------------------------------------- -void iremga20_device::sound_stream_update(sound_stream &stream, std::vector<read_stream_view> const &inputs, std::vector<write_stream_view> &outputs) +void iremga20_device::sound_stream_update(sound_stream &stream) { - auto &outL = outputs[0]; - auto &outR = outputs[1]; - - for (int i = 0; i < outL.samples(); i++) + for (int i = 0; i < stream.samples(); i++) { s32 sampleout = 0; @@ -159,8 +156,8 @@ void iremga20_device::sound_stream_update(sound_stream &stream, std::vector<read } } - outL.put_int(i, sampleout, 32768 * 4); - outR.put_int(i, sampleout, 32768 * 4); + stream.put_int(0, i, sampleout, 32768 * 4); + stream.put_int(1, i, sampleout, 32768 * 4); } } |