mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Add sync off support, improve format negotiation
This commit is contained in:
parent
05a3f43057
commit
66f1c42fcc
@ -308,7 +308,7 @@ static IAudioClient *wasapi_init_client_sh(IMMDevice *device,
|
||||
|
||||
wasapi_warn("Unsupported format");
|
||||
rate_res = wasapi_pref_rate(j);
|
||||
if (rate_res == *rate) /* allready tested */
|
||||
if (rate_res == *rate) /* requested allready tested */
|
||||
rate_res = wasapi_pref_rate(++j); /* skip it */
|
||||
}
|
||||
}
|
||||
@ -421,7 +421,7 @@ static IAudioClient *wasapi_init_client_ex(IMMDevice *device,
|
||||
|
||||
wasapi_warn("Unsupported format");
|
||||
rate_res = wasapi_pref_rate(j);
|
||||
if (rate_res == *rate) /* allready tested */
|
||||
if (rate_res == *rate) /* requested allready tested */
|
||||
rate_res = wasapi_pref_rate(++j); /* skip it */
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user