proteaaudio icon indicating copy to clipboard operation
proteaaudio copied to clipboard

Stereo audio files playing in mono

Open huantianad opened this issue 1 year ago • 3 comments

Audio files loaded from .mp3 and .ogg files are playing in mono, despite being stereo audio files. Happens both using native and SDL backends, on Linux kernel 6.6.1, Pipewire 0.3.84.

Not sure if I'm doing something wrong when init-ing the audio system, or my files are bad.

huantianad avatar Nov 24 '23 21:11 huantianad

It seems to be a mixer bug. I'll check it. Thanks for reporting it.

csabahruska avatar Nov 25 '23 12:11 csabahruska

Is this something that is occurring on other platforms as well?

huantianad avatar Nov 30 '23 23:11 huantianad

I did some work on this issue, but it's not finshed yet. Although proteaaudio seems to work, but proteaaudio-sdl mixer is still broken. I've uploaded the code to this branch: https://github.com/csabahruska/proteaaudio/tree/stereo-audio-files-playing-in-mono-fix

csabahruska avatar Dec 01 '23 11:12 csabahruska