mirror of https://github.com/snes9xgit/snes9x.git
Gtk: Add dynamic rate control to SDL driver.
This commit is contained in:
parent
eb24fd599f
commit
948506ad95
|
@ -32,6 +32,8 @@ void S9xSDLSoundDriver::samples_available()
|
|||
|
||||
mutex.lock();
|
||||
buffer.push(temp, snes_samples_available);
|
||||
if (Settings.DynamicRateControl)
|
||||
S9xUpdateDynamicRate(buffer.space_empty(), buffer.buffer_size);
|
||||
mutex.unlock();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue