You are not logged in.

#1 2021-05-03 00:17:15

zangarmarsh
Member
Registered: 2021-03-17
Posts: 3

Swap stereo speakers using ALSA [SOLVED]

I want to Swap the left and right channels on my stereo speakers. I'm not using pulse audio. Just plain old ALSA. Can someone help?

Last edited by zangarmarsh (2021-05-04 01:08:10)

Offline

#2 2021-05-03 02:49:58

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 12,698

Re: Swap stereo speakers using ALSA [SOLVED]

Just generally,

pcm.dmix.bindings {
   0 1
   1 0
}

should lead to that if I'm reading https://www.alsa-project.org/alsa-doc/a … ugins_dmix right. There's a few other things you could do if you wanted to get more fancy but that should just change the default dmix config to swap channels.

See e.g. https://superuser.com/a/59488 for another method.

Last edited by V1del (2021-05-03 03:04:51)

Offline

#3 2021-05-04 01:07:27

zangarmarsh
Member
Registered: 2021-03-17
Posts: 3

Re: Swap stereo speakers using ALSA [SOLVED]

Thanks. The first example results in no sound but the superuser one works.

Offline

Board footer

Powered by FluxBB