自己把 reverse-stereo
的 channel_map=
front-left,font-right里面左右位置调换一下试试呗,好用再设为缺省
如果音箱输入是两个插头的,反过来插就行了
以上的方法还是有问题的。最后以下列方法成功交换左右声道。原帖:https://unix.stackexchange.com/questions/718668/switch-invert-left-and-right-audio-channels-on-linux-system-wide
First, get sink (device) name:
$ pactl get-default-sink
...
Name: device-xxx
Reverse channels:
$ pacmd load-module module-remap-sink master=device-xxx sink_name=Inversed-PA sink_properties=device.description=Inversed-PA channels=2 channel_map=front-left,front-right master_channel_map=front-right,front-left
where
master= the device according pactl output.
sink_name= is for pulseaudio.
sink_properties=device.description= is for pavucontrol.
Last, select:
$ pactl set-default-sink Inversed-PA
以上做完了左右声道并未换过来,装了pulseaudio一看才明白,虽然Inversed-PA已经有了,但是并没有应用在主通道。得在app里手动切换app的通道如图。如果会pactl命令的,应该能用一个命令搞定。
最后送大家一段左右声道测试音频:
如果音箱输入是两个插头的,反过来插就行了
USB声卡连接
Popular Ranking
ChangePopular Events
More
因安装位置,左右音响必须声道互换一下,搜了一个方法如下, 结果没什么用, 高人得空给指点一二?
Note: this was performed back in 2019.
Create additional pulse audio config directory if not already exists
$ sudo mkdir /etc/pulse/default.pa.d
Create additional config
$ sudo nano /etc/pulse/default.pa.d/reversed.pa
load-module module-remap-sink sink_name=reverse-stereo master=0 channels=2 master_channel_map=front-right,front-left channel_map=front-left,front-right
#Uncomment below if wanting to set as default
#set-default-sink reverse-stereo
Restart pulse audio NOTE: run without sudo
$ systemctl --user restart pulseaudio
Now you should be able to view the new audio device in Sound settings.