summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/sound/k054539.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/sound/k054539.cpp')
-rw-r--r--src/devices/sound/k054539.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/sound/k054539.cpp b/src/devices/sound/k054539.cpp
index 862f8e2f175..35f45bf4fa6 100644
--- a/src/devices/sound/k054539.cpp
+++ b/src/devices/sound/k054539.cpp
@@ -535,6 +535,11 @@ void k054539_device::device_start()
init_chip();
}
+void k054539_device::device_clock_changed()
+{
+ stream->set_sample_rate(clock() / 384);
+}
+
void k054539_device::device_reset()
{
regs[0x22c] = 0;