Dolphin, the GameCube and Wii emulator - Forums
OpenAL Audio Lag - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: OpenAL Audio Lag (/Thread-openal-audio-lag)



OpenAL Audio Lag - parkedraccoon - 11-22-2013

OpenAL seems to be taking extra time to output audio. DSound outputs at correct time, but OpenAL is about .25 - .33 seconds late. I've tried different latency settings, which only seem to change the buzz sounds that occur during lag. This is on HLE. LLE doesn't help and also lags my computer.

Note that it's not causing game lag on its own: the game still runs at 60 fps. The audio itself is just playing out of sync with the game.

Aside from specs on profile, also happening on my i5-760, ATI 5750 6GB desktop.

Any one else had same problem/have a solution?


RE: OpenAL Audio Lag - ExtremeDude2 - 11-22-2013

OpenAL has the highest latency of all the backend and there is no fix yet


RE: OpenAL Audio Lag - pauldacheez - 11-23-2013

Yeah, well-known issue. I spotted this shortly after OpenAL timestretching was implemented and asked skidau about it – IIRC, the OpenAL API just has latency issues in general, plus the timestretching code adds inevitable latency, plus now it's apparent that the mixer code even adds latency when a game's running at full speed. I have no idea which part adds the most latency.

I personally can't wait until someone fixes the mixer and adds optional timestretching to every audio backend. The current situation is ridiculous.


RE: OpenAL Audio Lag - mbc07 - 11-23-2013

We have timestretch branch that implements the feature to all backends, but it's a bit outdated now...


RE: OpenAL Audio Lag - pauldacheez - 11-23-2013

The branch doesn't make timestretching optional (IIRC), nor does it fix any of the latency issues, so that's not really much help. :<


RE: OpenAL Audio Lag - ExtremeDude2 - 11-23-2013

Timestreching isn't optional in OpenAL either anyway


RE: OpenAL Audio Lag - mbc07 - 11-23-2013

Timestrech branch with XAudio2 provides less latency than current builds with OpenAL. There's still a small latency, but it's less noticeable than current implementation...