mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-18 17:04:34 +00:00
Cleanup audio_monitor_set_refresh_rate
This commit is contained in:
parent
e3897c8641
commit
2132ccc40c
@ -44,7 +44,9 @@ void audio_monitor_adjust_system_rates(void)
|
||||
**/
|
||||
void audio_monitor_set_refresh_rate(void)
|
||||
{
|
||||
g_extern.audio_data.orig_src_ratio =
|
||||
g_extern.audio_data.src_ratio =
|
||||
(double)g_settings.audio.out_rate / g_extern.audio_data.in_rate;
|
||||
double new_src_ratio = (double)g_settings.audio.out_rate /
|
||||
g_extern.audio_data.in_rate;
|
||||
|
||||
g_extern.audio_data.orig_src_ratio = new_src_ratio;
|
||||
g_extern.audio_data.src_ratio = new_src_ratio;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user