I’m having issues trying to figure out how to get audio to correctly play out of the surround sound speakers on Linux (specifically Ubuntu 16.04).
I have a test scene that plays a mono sound directly on each of the 5 speakers in order from front left, center, front right, surround right and then surround left. On Windows, the sound plays clearly on that speaker without any bleeding from the other speakers. On Linux however, the behavior is different and depends on the enable-remixing option in pulseaudio. If it is set (as it is by default in Ubuntu), then I would hear the sound that is supposed to play on the surround right speaker on that speaker and the front right speaker. If enable-remixing is disabled, then that sound isn’t heard at all.
I thought about using the SetSpeakerPosition function on Linux as a workaround, but the positions reported on Windows and Ubuntu already match.
I have confirmed that surround sound is enabled and working on Ubuntu by running speaker-test -c6 to play a static sound from all of the speakers individually. Is there something I’m missing in initializing FMOD in code? Or is there some setting in Ubuntu that needs to be changed?