summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/apple/sonora.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/apple/sonora.cpp')
-rw-r--r--src/mame/apple/sonora.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/mame/apple/sonora.cpp b/src/mame/apple/sonora.cpp
index 581bef5abb2..94453d48e72 100644
--- a/src/mame/apple/sonora.cpp
+++ b/src/mame/apple/sonora.cpp
@@ -174,13 +174,10 @@ void sonora_device::device_reset()
space.install_rom(0x00000000, memory_end & ~memory_mirror, memory_mirror, m_rom_ptr);
}
-void sonora_device::sound_stream_update(sound_stream &stream, std::vector<read_stream_view> const &inputs, std::vector<write_stream_view> &outputs)
+void sonora_device::sound_stream_update(sound_stream &stream)
{
- for (int i = 0; i < inputs[0].samples(); i++)
- {
- outputs[0].put(i, inputs[0].get(i));
- outputs[1].put(i, inputs[1].get(i));
- }
+ stream.copy(0, 0);
+ stream.copy(1, 1);
}
u32 sonora_device::rom_switch_r(offs_t offset)