On Tue, 2 Aug 2011 21:23:14 +0200
Aleksandar Kuktin <[email protected]> wrote:
> Okay, I have a problem and it calls for a creative solution.
>
> I moved to my parents for the summer break and left most of my computer
> behind. We have similar hardware home so I was able to just carry the
> HDD. Now, this particular hardware is awkwardly placed and as a result
> of that, I had to exchange the position of my speakers in order to plug
> them in. They now work, but the speaker on the left side of the desk is
> playing the "right" sound, while the right-side speaker is playing the
> left-side sound.
>
> And yes, I would like to software invert them. No, physically inverting
> them is just not creative enough and therefore not good enough. :)
>
> Does anyone know of a more-or-less quick and dirty fix for this, or
> will I have to dig deep into the code?? A patch maybe??
>
> I use ALSA and SDL for my audio needs.
>
cat > ~/.asoundrc << "EOF"
pcm.swapped {
type route
slave.pcm "cards.pcm.default"
ttable.0.1 1
ttable.1.0 1
}
pcm.!default pcm.swapped
EOF
You can probably do it system wide with a file in /etc but I don't know
about that. Google will know.
Andy
--
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page