noxworld-dev / opennox

OpenNox main repository.
GNU General Public License v3.0
439 stars 23 forks source link

Replace OpenAL #468

Open dennwc opened 2 years ago

dennwc commented 2 years ago

We had quite a few issues with OpenAL in the past (similar to #467), specifically the confusion in the linked library names on Windows.

There's not much point of using OpenAL comparing to other wrappers like SDL-audio. Specifically for Go we can likely replace it with hajimehoshi/oto.

Evengard commented 2 years ago

As a side note, I really want to globally overhaul all the sound subsystem along the way, to get rid of AIL shim and provide a clearer code allowing to plug different backends (although I don't think we'll NEED other backends with oto, but still clearer code is always better).

dennwc commented 2 years ago

I actually started rewriting functions that call into AIL, which should help reduce the API surface exposed by it, and making it easier to make other audio backends.