summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/mea8000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/mea8000.cpp')
-rw-r--r--src/devices/sound/mea8000.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/devices/sound/mea8000.cpp b/src/devices/sound/mea8000.cpp
index ef528309897..3cf2ad51a6e 100644
--- a/src/devices/sound/mea8000.cpp
+++ b/src/devices/sound/mea8000.cpp
@@ -422,12 +422,9 @@ void mea8000_device::stop_frame()
-void mea8000_device::sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples)
+void mea8000_device::sound_stream_update(sound_stream &stream, std::vector<read_stream_view> const &inputs, std::vector<write_stream_view> &outputs)
{
- for (int samp = 0; samp < samples; samp++)
- {
- outputs[0][samp] = m_output;
- }
+ outputs[0].fill(stream_buffer::sample_t(m_output) * (1.0 / 32768.0));
}
/* next sample in frame, sampling at 64 kHz */