diff options
| author | JMC47 <JMC4789@gmail.com> | 2023-01-13 21:52:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-13 21:52:07 -0500 |
| commit | 8a1cac9be17f49100ce42d1b8a2ee39f9e8f76b7 (patch) | |
| tree | ad21cd03c442f7445a2a976af73b2cfa2ce6e70d /Source/Core/AudioCommon/Mixer.cpp | |
| parent | f4f94396e94dad9cd4d7d7fb6defa096966a4ab8 (diff) | |
| parent | e849172dc9c1c0822ff36693c948bc79b1a8027f (diff) | |
Merge pull request #11348 from Sam-Belliveau/improved-pacing
CoreTiming: Throttle Before Every Event Using std::chrono
Diffstat (limited to 'Source/Core/AudioCommon/Mixer.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/Mixer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/AudioCommon/Mixer.cpp b/Source/Core/AudioCommon/Mixer.cpp index f71c1e0c83..ae52dc7bb2 100644 --- a/Source/Core/AudioCommon/Mixer.cpp +++ b/Source/Core/AudioCommon/Mixer.cpp @@ -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) |
