Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

With 5.1 channel config, audio will be only on the left side #1

Open
NoXPhasma opened this issue Oct 21, 2017 · 4 comments
Open

With 5.1 channel config, audio will be only on the left side #1

NoXPhasma opened this issue Oct 21, 2017 · 4 comments

Comments

@NoXPhasma
Copy link

NoXPhasma commented Oct 21, 2017

When I run my audio configuration to be 5.1 channels, the addon forces the audio to be only on the left side (front left and rear left speaker). Using Pan will change the volume between the front left and rear left speaker.

Set the audio channels to Stereo and restart Firefox fixes this and the addon works like expected. I haven't took a closer look to the addon itself, but I guess you assume the user only has 2 channels.

Firefox Nightly x64
Operating System: Linux Mint 18.2
Addon Version: 1.0.1

@valpackett
Copy link
Owner

Yeah, I have no idea about 5.1, I only use headphones. This extension just uses StereoPanner which should output left and right.

The browser should upmix using left and right:

2 -> 5.1 : up-mix from stereo to 5.1
        output.L = input.L;
        output.R = input.R;
        output.C = 0;
        output.LFE = 0;
        output.SL = 0;
        output.SR = 0;

Maybe it's a bug in Firefox… Also, are your speakers plugged in correctly? :)

@NoXPhasma
Copy link
Author

Yes, my speakers are plugged correctly, an audio test sends the sounds to the correct channels. Also Stereo panning works when I change the channel options to Stereo. :)

The browser should upmix using left and right:

Yes, Firefox does that, as long as I don't have the Addon installed. Firefox also knows my available Sound devices and their channel configuration:
unbenannt

@valpackett
Copy link
Owner

Firefox does that

I mean in Web Audio, not just when playing a media file.

@NoXPhasma
Copy link
Author

Maybe it's a bug in the WebAudio implementation of Firefox, this is the first time I've had this wrong channel order in Firefox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants