PulseAudio Change Left and Right Channel

My speakers are upside down on my desk. That means the left speaker is on the right side and the right one is on the left.

For me it is better to set up the speakers this way since I have less cable tangle.

Still, I would like the speaker on the right output the sound of the right speaker and also turned around.

Fortunately, this can be changed with just one line in the file /usr/share/pulseaudio/alsa-mixer/profile-sets/default.conf.

In the section [Mapping analog-stereo] needs channel-map = left,right changed to channel-map = right,left. Then restart and everything should work.

Reference: Reddit