diff options
Diffstat (limited to 'src/devices/sound/awacs.cpp')
-rw-r--r-- | src/devices/sound/awacs.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/devices/sound/awacs.cpp b/src/devices/sound/awacs.cpp index 236852c854b..3ddb10e7007 100644 --- a/src/devices/sound/awacs.cpp +++ b/src/devices/sound/awacs.cpp @@ -103,7 +103,7 @@ void awacs_device::device_reset() // our sound stream //------------------------------------------------- -void awacs_device::sound_stream_update(sound_stream &stream, std::vector<read_stream_view> const &inputs, std::vector<write_stream_view> &outputs) +void awacs_device::sound_stream_update(sound_stream &stream) { m_last_sample = machine().time(); @@ -119,14 +119,14 @@ void awacs_device::sound_stream_update(sound_stream &stream, std::vector<read_st u32 data = m_output_cb(m_phase | (m_output_buffer ? 0x10000 : 0)); s16 left = data >> 16; s16 right = data; - outputs[0].put_int(0, left, 32768); - outputs[1].put_int(0, right, 32768); + stream.put_int(0, 0, left, 32768); + stream.put_int(1, 0, right, 32768); } else { m_output_buffer = false; - outputs[0].put_int(0, 0, 32768); - outputs[1].put_int(0, 0, 32768); + stream.put_int(0, 0, 0, 32768); + stream.put_int(1, 0, 0, 32768); } if(m_active & ACTIVE_IN) |