[bug?] Swap stereo channels

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium

krz
Member
Posts: 11
Joined: Fri Jul 02, 2010 10:08 pm

[bug?] Swap stereo channels

Postby krz » Thu Feb 10, 2011 7:35 pm

Why OSS is swapping stereo channels? Sometimes it works ok, then it changes.

I'm trying to find out what it causes.

igorzwx
Known Member
Posts: 1217
Joined: Sun Jun 28, 2009 9:31 pm

Re: [bug?] Swap stereo channels

Postby igorzwx » Thu Feb 10, 2011 7:46 pm

krz wrote:Why OSS is swapping stereo channels? Sometimes it works ok, then it changes.

I'm trying to find out what it causes.


Do you have a clear-cut empirical test which can be reproduced on other computers?

krz
Member
Posts: 11
Joined: Fri Jul 02, 2010 10:08 pm

Re: [bug?] Swap stereo channels

Postby krz » Thu Feb 10, 2011 8:29 pm

Problem seems solved.

It's my headphones cable fault. I didn't knew, there are two diffrent standards of channels alignment. Using loudspeakers, or bulid in laptop speakers everything is ok. :)
but.. Why i worked right before?

I think, OSS needs stereo channels reverse feature.

igorzwx
Known Member
Posts: 1217
Joined: Sun Jun 28, 2009 9:31 pm

Re: [bug?] Swap stereo channels

Postby igorzwx » Thu Feb 10, 2011 9:25 pm

krz wrote:I think, OSS needs stereo channels reverse feature.


Have you tried PulseAudio?
It may, however, reduce sound quality. What is more, PulseAudio is said to be "a very hungry application". It may consume 80% of CPU or more.

krz
Member
Posts: 11
Joined: Fri Jul 02, 2010 10:08 pm

Re: [bug?] Swap stereo channels

Postby krz » Thu Feb 10, 2011 10:43 pm

No need to use pulseaudio. I already fixed it swapping the wires. :)

cesium
Developer
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: [bug?] Swap stereo channels

Postby cesium » Thu Feb 10, 2011 11:07 pm

OSS can swap stereo channels by itself (in its latest version) as long as you are using vmix (which is enabled in default configuration): 'sudo vmixctl remap /dev/dsp 2 1'.


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 3 guests