misc/audio/71Remap/71remap.sh
2017-04-06 19:38:59 +02:00

14 lines
1022 B
Bash

# Installation:
# Get device name using this command: pacmd list-sinks | grep surround
# Remove "pacmd" and add to /etc/pulse/default.pa
# Notes;
# Additional line required for 7.1 instead of 5.1
# Verify right-left mapping for center/lfe device
pacmd load-module module-remap-sink sink_name="Channel12" remix=no master=alsa_output.pci-0000_00_1b.0.analog-surround-51 channels=2 master_channel_map=front-left,front-right channel_map=front-left,front-right sink_properties=device.description="Channel12"
pacmd load-module module-remap-sink sink_name="Channel34" remix=no master=alsa_output.pci-0000_00_1b.0.analog-surround-51 channels=2 master_channel_map=rear-left,rear-right channel_map=front-left,front-right sink_properties=device.description="Channel34"
pacmd load-module module-remap-sink sink_name="Channel56" remix=no master=alsa_output.pci-0000_00_1b.0.analog-surround-51 channels=2 master_channel_map=front-center,lfe channel_map=front-left,front-right sink_properties=device.description="Channel56"