mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
CoreTiming: Throttle Before Every Event Using Chrono
This commit is contained in:
parent
2da39f7e00
commit
bc1cc9eeb4
7 changed files with 225 additions and 140 deletions
|
@ -162,7 +162,7 @@ unsigned int Mixer::Mix(short* samples, unsigned int num_samples)
|
|||
memset(samples, 0, num_samples * 2 * sizeof(short));
|
||||
|
||||
// TODO: Determine how emulation speed will be used in audio
|
||||
// const float emulation_speed = std::roundf(g_perf_metrics.GetSpeed()) / 100.f;
|
||||
// const float emulation_speed = g_perf_metrics.GetSpeed();
|
||||
const float emulation_speed = m_config_emulation_speed;
|
||||
const int timing_variance = m_config_timing_variance;
|
||||
if (m_config_audio_stretch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue