diff options
Diffstat (limited to 'src/devices/sound/t6721a.cpp')
-rw-r--r-- | src/devices/sound/t6721a.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/sound/t6721a.cpp b/src/devices/sound/t6721a.cpp index 423cd3edc19..2c29e31dc62 100644 --- a/src/devices/sound/t6721a.cpp +++ b/src/devices/sound/t6721a.cpp @@ -56,7 +56,7 @@ void t6721a_device::device_start() m_write_apd.resolve_safe(); // create sound stream - m_stream = machine().sound().stream_alloc(*this, 0, 1, machine().sample_rate()); + m_stream = stream_alloc(0, 1, machine().sample_rate()); } @@ -65,8 +65,9 @@ void t6721a_device::device_start() // our sound stream //------------------------------------------------- -void t6721a_device::sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) +void t6721a_device::sound_stream_update(sound_stream &stream, std::vector<read_stream_view> const &inputs, std::vector<write_stream_view> &outputs) { + outputs[0].fill(0); } |