swap audio channels?

Jason Shein jason-xgs8i/e9EeWTtA8H5PvdGCwD8/FfD2ys at public.gmane.org
Wed Mar 1 02:38:01 UTC 2006


On Tuesday 28 February 2006 21:18, Ian Zimmerman wrote:
> Is it possible to do this in software?  The physical layout of my desk
> forces me to place the R speaker on the left and vice versa.
> Actually, I don't much mind the channels being reversed for playback
> (though it's still a bit confusing when I put on the headphones),
> but where it really matters is for the mixer.
>
> I use the stock snd_via82xx driver from ALSA, as included in kernel.org
> 2.6 kernels.

Add this to your /etc/asound.conf

pcm.swapped {
    type route
    slave.pcm "hw:0"
    ttable.0.1 1
    ttable.1.0 1
}

http://alsa.opensrc.org/faq/#FAQ041


-- 
Jason Shein
Director of Networking, Operations and Systems
Detached Networks
jason-xgs8i/e9EeWTtA8H5PvdGCwD8/FfD2ys at public.gmane.org
( 905 ) - 876 - 4158 Voice
( 905 ) - 876 - 5817 Mobile
http://www.detachednetworks.ca
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list