summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/mos6581.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/mos6581.cpp')
-rw-r--r--src/devices/sound/mos6581.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/sound/mos6581.cpp b/src/devices/sound/mos6581.cpp
index 2fe073a1347..0870631ad47 100644
--- a/src/devices/sound/mos6581.cpp
+++ b/src/devices/sound/mos6581.cpp
@@ -199,7 +199,7 @@ void mos6581_device::device_start()
m_read_poty.resolve_safe(0xff);
// create sound stream
- m_stream = stream_alloc_legacy(0, 1, machine().sample_rate());
+ m_stream = stream_alloc(0, 1, machine().sample_rate());
// initialize SID engine
m_token->device = this;
@@ -239,9 +239,9 @@ void mos6581_device::device_post_load()
// our sound stream
//-------------------------------------------------
-void mos6581_device::sound_stream_update_legacy(sound_stream &stream, stream_sample_t const * const *inputs, stream_sample_t * const *outputs, int samples)
+void mos6581_device::sound_stream_update(sound_stream &stream, std::vector<read_stream_view> const &inputs, std::vector<write_stream_view> &outputs)
{
- m_token->fill_buffer(outputs[0], samples);
+ m_token->fill_buffer(outputs[0]);
}