summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/3812intf.h
diff options
context:
space:
mode:
author therealmogminer@gmail.com <therealmogminer@gmail.com>2016-08-19 13:22:45 +0200
committer therealmogminer@gmail.com <therealmogminer@gmail.com>2016-08-19 13:23:24 +0200
commit0b4d175aa8bec084cda21cc7075cde3a0a704fd0 (patch)
treef6c8dbf4979faebbbdb1ee2a6b8a7d72d35266c4 /src/devices/sound/3812intf.h
parent989081dc37651de6e79820635c712582077ce397 (diff)
-vgmplay.cpp: Added YM3812 support. [Ryan Holtz]
Diffstat (limited to 'src/devices/sound/3812intf.h')
-rw-r--r--src/devices/sound/3812intf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/devices/sound/3812intf.h b/src/devices/sound/3812intf.h
index a62c88302ab..5f0c1e47f00 100644
--- a/src/devices/sound/3812intf.h
+++ b/src/devices/sound/3812intf.h
@@ -37,6 +37,7 @@ protected:
virtual void device_start() override;
virtual void device_stop() override;
virtual void device_reset() override;
+ virtual void device_clock_changed() override;
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
@@ -44,6 +45,8 @@ protected:
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override;
private:
+ void calculate_rates();
+
sound_stream * m_stream;
emu_timer * m_timer[2];
void * m_chip;