Hi,
I've created a WIP branch to reduce the currently very high audio latency with LLE and AX-HLe (it has no effect on zelda ucode games with hle). As this changes interact both with the audio backend and with the OS+drivers, it should be tested on as much systems as possible.
Please focus on:
- Does all available audio backends still work fine?
- Are there any new audio stuttering?
- Did the audio latency improve?
- Are any games broken which works fine on master?
Builds are here:
Win64: http://dl.dolphin-emu.org/wips/degasus-d...858-x64.7z
OSX: http://dl.dolphin-emu.org/wips/degasus-d....0-858.dmg
Src: https://github.com/degasus/dolphin/tree/latencyFix
Known issues:
- Stuttering on slowdowns is wrose. Lower latency results in shorter but more frequent stutters, so they sound worse. This can't be resolved without bigger latency.
- Small pitch shift while syncing. Does anyone notice this as it's limited to 0.6% -- 0.15 semi-tone? The higher the pitch, the faster we can correct the latency.
New features:
- Audio resampling controller: The resampling rate is controlled by the mixer fifo utilization to get a latency of 40 ms which is also the timing variance of our throttler.
- Audio resampling based on framelimiter: On configuring the framelimiter, this branch also configure the resampler to avoid stuttering. It's impossible to do this based on real slowdowns without a huge audio latency, but so you'll be able to get smooth audio on limiting the speed yourself. Check out the hotkeys to change the framelimiter
I've created a WIP branch to reduce the currently very high audio latency with LLE and AX-HLe (it has no effect on zelda ucode games with hle). As this changes interact both with the audio backend and with the OS+drivers, it should be tested on as much systems as possible.
Please focus on:
- Does all available audio backends still work fine?
- Are there any new audio stuttering?
- Did the audio latency improve?
- Are any games broken which works fine on master?
Builds are here:
Win64: http://dl.dolphin-emu.org/wips/degasus-d...858-x64.7z
OSX: http://dl.dolphin-emu.org/wips/degasus-d....0-858.dmg
Src: https://github.com/degasus/dolphin/tree/latencyFix
Known issues:
- Stuttering on slowdowns is wrose. Lower latency results in shorter but more frequent stutters, so they sound worse. This can't be resolved without bigger latency.
- Small pitch shift while syncing. Does anyone notice this as it's limited to 0.6% -- 0.15 semi-tone? The higher the pitch, the faster we can correct the latency.
New features:
- Audio resampling controller: The resampling rate is controlled by the mixer fifo utilization to get a latency of 40 ms which is also the timing variance of our throttler.
- Audio resampling based on framelimiter: On configuring the framelimiter, this branch also configure the resampler to avoid stuttering. It's impossible to do this based on real slowdowns without a huge audio latency, but so you'll be able to get smooth audio on limiting the speed yourself. Check out the hotkeys to change the framelimiter
