diff options
Diffstat (limited to 'src/devices/sound/saa1099.cpp')
-rw-r--r-- | src/devices/sound/saa1099.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/devices/sound/saa1099.cpp b/src/devices/sound/saa1099.cpp index c8c6c527221..ca1232e13f4 100644 --- a/src/devices/sound/saa1099.cpp +++ b/src/devices/sound/saa1099.cpp @@ -201,6 +201,19 @@ void saa1099_device::device_start() //------------------------------------------------- +// device_clock_changed +//------------------------------------------------- + +void saa1099_device::device_clock_changed() +{ + m_master_clock = clock(); + m_sample_rate = clock() / 256; + + m_stream->set_sample_rate(m_sample_rate); +} + + +//------------------------------------------------- // sound_stream_update - handle a stream update //------------------------------------------------- |