summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/x1_010.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/x1_010.h')
-rw-r--r--src/devices/sound/x1_010.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/sound/x1_010.h b/src/devices/sound/x1_010.h
index 5f85fe77671..a107534d4ae 100644
--- a/src/devices/sound/x1_010.h
+++ b/src/devices/sound/x1_010.h
@@ -5,7 +5,9 @@
#pragma once
-class x1_010_device : public device_t, public device_sound_interface, public device_rom_interface
+#include "dirom.h"
+
+class x1_010_device : public device_t, public device_sound_interface, public device_rom_interface<20>
{
public:
x1_010_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock);
@@ -24,10 +26,10 @@ protected:
virtual void device_clock_changed() override;
// sound stream update overrides
- virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override;
+ virtual void sound_stream_update(sound_stream &stream, std::vector<read_stream_view> const &inputs, std::vector<write_stream_view> &outputs) override;
// device_rom_interface overrides
- virtual void rom_bank_updated() override;
+ virtual void rom_bank_pre_change() override;
private:
static constexpr unsigned NUM_CHANNELS = 16;