Task #1213

Use OpenAL as default sound engine

Added by Spyhawk 9 months ago. Updated 8 months ago.

Status:Fixed% Done:


Priority:NormalSpent time:-
Target version:2.77
OS: Arch:


There is some delay between the weapon fired and the sound produced, compared to vanilla. This overhead is caused by SDL that is used for input and sound.
OpenAL has some minor issue (see #977), but noticeably reduces that delay. Changing the default sound engine from SDL to OpenAL should give players a better overall experience.

Related issues

Related to ET: Legacy Development - Bug #977: Sound location restart with OpenAL enable Confirmed 16.01.2017

Associated revisions

Revision de95e076
Added by Spyhawk 8 months ago

client: use OpenAL as default sound backend, refs #1213


#1 Updated by Spyhawk 9 months ago

  • Description updated (diff)

#2 Updated by Spyhawk 9 months ago

  • Related to Bug #977: Sound location restart with OpenAL enable added

#3 Updated by IR4T4 9 months ago

As far as I know you have to install additional software to make it work?

We might extend the installer to do this (option to also install openAL and set cvar s_backend). Let the user decide.

#4 Updated by Spyhawk 9 months ago

No, OpenAL is built-in already. There is nothing to add, it’s there as an option in UI.
I actually prefers it to SDL (quality seems better, and it’s a must for anyone that has more than a dual-speaker system).

#5 Updated by Spyhawk 8 months ago

  • Status changed from New to Fixed
  • % Done changed from 0 to 100

Done. In case the code is compiled without OPENAL support, the client will fallback to SDL2 automatically.
Players that wants SDL2 as sound backend can change it in the settings (only the default is changed).

Also available in: Atom PDF