Created
October 22, 2024 09:01
-
-
Save bmcbm/91d92395c5b26f9dcd76b47dd3161fa0 to your computer and use it in GitHub Desktop.
Ubuntu - Reverse stereo output on a sink
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reverse stereo output | |
# Get the sinks: | |
pacmd list-sinks | grep name: | sed -E 's/.*name: <(.*)>/\1/' | |
# Set switched stereo channels for the desired sink (here "alsa_output.pci-0000_28_00.3.analog-stereo") | |
# Set name Ombyt-Stereo | |
pacmd load-module module-remap-sink master=alsa_output.pci-0000_28_00.3.analog-stereo sink_name=Ombyt-Stereo sink_properties=device.description=Ombyt-Stereo channels=2 channel_map=front-left,front-right master_channel_map=front-right,front-left |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment