Audio alsamixer中的奇怪状态已更改
我的音响系统很简单:后面板上有两个扬声器--Audio alsamixer中的奇怪状态已更改,audio,alsa,Audio,Alsa,我的音响系统很简单:后面板上有两个扬声器--左前(FL),右前(FR),前面板上有耳机。原语状态如下——原语状态: 在此状态下,可以从FL、FR和耳机听到声音 我发现一个奇怪的事实,即alsamixer中的master,front,round状态变为MM当在LFE上单击M时,我将光标移动到LFE,然后单击M,LFE变为MM,同时master code>,前部,环绕全部变为MM状态!听不到任何声音 我在LFE上第二次单击M,所有状态更改如下: 让我们从原始状态继续,从后面板拔下线路,耳机中没
左前(FL)
,右前(FR)
,前面板上有耳机。原语状态如下——原语状态:
在此状态下,可以从
FL
、FR
和耳机听到声音
我发现一个奇怪的事实,即alsamixer中的master
,front
,round
状态变为MM
当在LFE
上单击M
时,我将光标移动到LFE
,然后单击M
,LFE
变为MM
,同时master code>,前部
,环绕
全部变为MM
状态!听不到任何声音
我在LFE
上第二次单击M
,所有状态更改如下:
让我们从原始状态继续,从后面板拔下线路,耳机中没有声音!alsamixer gui中的状态如下:
现在重新插入后面板中的线路,alsamixer gui中的状态变为:
请详细解释。要了解发生了什么事:
- 在一个终端窗口中,运行
alsactl monitor
- 在另一个终端窗口中,运行
alsamixer
- 在alsamixer中禁用/取消禁用时,可以在监视器窗口中看到控制命令。当禁用LFE时,您应该会看到多个开关命令显示
发生这种情况的原因是因为alsamixer使用的pulseaudio配置文件
- 配置文件位于
/usr/share/pulseaudio/alsa mixer/profile set/*.conf
- 路径位于
/usr/share/pulseaudio/alsa mixer/path/*.conf
那么,哪些在使用中?您可以使用pacmd info | grep“active”
检查,这可能会产生如下结果:
active port: <analog-output-speaker>
active port: <analog-input-headphone-mic>
active profile: <output:analog-stereo+input:analog-stereo>
真正的控制在/usr/share/pulseaudio/alsa mixer/path/analog output speaker.conf
下。有关详细信息,请阅读/usr/share/pulseaudio/alsa mixer/path/analog output.conf.common
,其中我们看到两个重要部分:
; When a device shall be muted/unmuted *all* elements listed in a path
; file with "switch = mute" will be toggled.
(对此有一点需要注意。似乎取消静音不会切换路径中的其他元素)
及
所以现在,如果我们想调整一个元素,使它总是打开,总是关闭,或者只是忽略静音,我们将在感兴趣的元素中设置相应的switch=
值
如果要在激活该路径时(即插入路径时)调整耳机的行为,请更改路径/analog output heedphones.conf
您的声卡是什么?
; When a device shall be muted/unmuted *all* elements listed in a path
; file with "switch = mute" will be toggled.
; [Element ...] # For each element that we shall control
...
; switch = ignore | mute | off | on | select # What to do with this switch: ignore it, make it follow mute status,
; # always set it to off, always to on, or make it selectable as port.
; # If set to 'select' you need to define an Option section for on
; # and off
...