diff options
Diffstat (limited to 'src/devices/sound/qsound.cpp')
-rw-r--r-- | src/devices/sound/qsound.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/devices/sound/qsound.cpp b/src/devices/sound/qsound.cpp index 197c1f03be7..0c49495427a 100644 --- a/src/devices/sound/qsound.cpp +++ b/src/devices/sound/qsound.cpp @@ -227,6 +227,14 @@ void qsound_device::device_start() save_item(NAME(m_channel)); } +//------------------------------------------------- +// device_clock_changed +//------------------------------------------------- + +void qsound_device::device_clock_changed() +{ + m_stream->set_sample_rate(clock() / 2 / 1248); +} //------------------------------------------------- // device_reset - device-specific reset |