thewierdnut / endless-mobile

Space exploration, trading, and combat game.
https://endless-sky.github.io/
GNU General Public License v3.0
92 stars 6 forks source link

mp3 stereo sound effects are not played back correctly #118

Closed thewierdnut closed 5 months ago

thewierdnut commented 6 months ago

Is there an existing issue for this?

Describe the bug

mp3 sound effects are loaded, but then played back as if they were mono. This makes stereo sound effects sound lower pitched and distorted

Game Version

0.10.3-38

Additional Information

The stock wav loader just rejects stereo files.

An alternative would be to spit out a warning, and just take one channel, or to mix the two channels together.