bash-stuff/default.pa.d/remap-combine.pa

18 lines
1.3 KiB
Plaintext
Raw Normal View History

#CALM DEF
#load-module module-alsa-sink device=hw:0,0 sink_name=internal_speakers
#update-sink-proplist internal_speakers device.icon_name="audio-speakers"
#load-module module-alsa-sink device=hw:0,3 sink_name=hdmi_speakers
#update-sink-proplist hdmi_speakers device.icon_name="audio-speakers"
load-module module-remap-sink sink_name=internal_speakers_left master=alsa_output.pci-0000_00_1f.3.analog-stereo channels=2 master_channel_map=front-left,front-right channel_map=front-left,front-center remix=no
update-sink-proplist internal_speakers_left device.description="Remapped internal speakers to front-left and front-center"
load-module module-remap-sink sink_name=hdmi_speakers_right master=alsa_output.pci-0000_00_1f.3.hdmi-stereo channels=2 master_channel_map=front-left,front-right channel_map=front-center,front-right remix=no
update-sink-proplist hdmi_speakers_right device.description="Remapped HDMI speakers to front-center and front-right"
load-module module-combine-sink sink_name=is_left_hs_right slaves=internal_speakers_left,hdmi_speakers_right channels=3 channel_map=front-left,front-center,front-right
update-sink-proplist is_left_hs_right device.description="Combined Internal and HDMI Speakers"
update-sink-proplist is_left_hs_right device.icon_name="audio-speakers"