summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/k053260.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/k053260.cpp')
-rw-r--r--src/devices/sound/k053260.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/devices/sound/k053260.cpp b/src/devices/sound/k053260.cpp
index 764f02487f9..cc5294b0b59 100644
--- a/src/devices/sound/k053260.cpp
+++ b/src/devices/sound/k053260.cpp
@@ -105,6 +105,16 @@ void k053260_device::device_start()
//-------------------------------------------------
+// device_clock_changed
+//-------------------------------------------------
+
+void k053260_device::device_clock_changed()
+{
+ m_stream->set_sample_rate(clock() / CLOCKS_PER_SAMPLE);
+}
+
+
+//-------------------------------------------------
// device_reset - device-specific reset
//-------------------------------------------------