For LegacyClonk we want to update from using SDL_mixer (version 1) to SDL2_mixer.
It seems to mostly work fine, however in Linux the sound quality is very bad.
It seems like high frequencies are missing.
But in Windows the quality seems to be ok, according to my testing.
The parameters passed to Mix_OpenAudio are equivalent to those of the SDL_mixer version.
Also, according to
pactl list sink-inputs, the sample format, frequency and channel count are set correctly.
Does anyone have an idea what is going on here?