diff options
Diffstat (limited to 'src/devices/sound/rf5c68.cpp')
-rw-r--r-- | src/devices/sound/rf5c68.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/devices/sound/rf5c68.cpp b/src/devices/sound/rf5c68.cpp index 1509ab8d8b8..a00bd45d522 100644 --- a/src/devices/sound/rf5c68.cpp +++ b/src/devices/sound/rf5c68.cpp @@ -66,6 +66,15 @@ void rf5c68_device::device_start() } //------------------------------------------------- +// device_clock_changed +//------------------------------------------------- + +void rf5c68_device::device_clock_changed() +{ + m_stream->set_sample_rate(clock() / 384); +} + +//------------------------------------------------- // memory_space_config - return a description of // any address spaces owned by this device //------------------------------------------------- |