Changed OpenAL latency setting to really reflect how much time it is.

Before these changes each value of latency were actually 5ms, with a
minimum latency of ~10 ms. If it was set to 4 ms on the UI, the actual
latency was 10 + 5 * 4 = 30 ms.
Now 30 ms on the UI means 30 ms on the backend.
This commit is contained in:
LAGonauta
2017-06-17 07:43:37 -03:00
committed by lfsafady
parent 94ba78d717
commit 8fd1af6783
5 changed files with 54 additions and 28 deletions

View File

@ -109,7 +109,7 @@ struct SConfig : NonCopyable
bool bCopyWiiSaveNetplay = true;
bool bDPL2Decoder = false;
int iLatency = 14;
int iLatency = 20;
bool m_audio_stretch = false;
int m_audio_stretch_max_latency = 80;