summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/8950intf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/8950intf.cpp')
-rw-r--r--src/devices/sound/8950intf.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/devices/sound/8950intf.cpp b/src/devices/sound/8950intf.cpp
index a6f8be7aa2b..da0049f0a91 100644
--- a/src/devices/sound/8950intf.cpp
+++ b/src/devices/sound/8950intf.cpp
@@ -101,6 +101,16 @@ void y8950_device::device_start()
}
//-------------------------------------------------
+// device_clock_changed
+//-------------------------------------------------
+
+void y8950_device::device_clock_changed()
+{
+ m_stream->set_sample_rate(clock() / 72);
+ y8950_clock_changed(m_chip, clock(), clock() / 72);
+}
+
+//-------------------------------------------------
// device_stop - device-specific stop
//-------------------------------------------------