After a bit of research it should be possible to override the engine sound functions and implement OpenAL-soft, this would allow us to implement our own sound precache and get rid of the bit limit for sounds.
We want to use OpenAL-soft because it's open source, while we could use FMOD, it doesn't really match our open source philosophy for the project and of course FMOD's license isn't compatible with GPL3.0 license. We could also use Miniaudio like what Xash3D-fwgs uses (https://miniaud.io/).
https://github.com/twhl-community/halflife-unified-sdk does something similar.
After a bit of research it should be possible to override the engine sound functions and implement OpenAL-soft, this would allow us to implement our own sound precache and get rid of the bit limit for sounds.
We want to use OpenAL-soft because it's open source, while we could use FMOD, it doesn't really match our open source philosophy for the project and of course FMOD's license isn't compatible with GPL3.0 license. We could also use Miniaudio like what Xash3D-fwgs uses (https://miniaud.io/).
https://github.com/twhl-community/halflife-unified-sdk does something similar.