在查看您的信息收集桶并与#pulseaudio中的人们进行咨询之后,我们将做这件事。打开一个终端并键入pactl list sources
以确认Line In是活动端口。
Source #1
State: SUSPENDED
Name: alsa_input.pci-0000_00_07.0.analog-stereo
Description: Built-in Audio Analog Stereo
--SNIP--
Ports:
analog-input-microphone-front: Front Microphone (priority: 8500, not available)
analog-input-microphone-rear: Rear Microphone (priority: 8200, not available)
analog-input-linein: Line In (priority: 8100, available)
Active Port: analog-input-linein
Formats:
pcm
验证之后,我们将进行检查以确保能够使用pacmd命令设置端口。再次pacmd "set-source-port 1 analog-input-microphone-front"
运行pactl list sources
以确认前面板现在处于活动状态。
Source #1
State: SUSPENDED
Name: alsa_input.pci-0000_00_07.0.analog-stereo
--SNIP--
Ports:
analog-input-microphone-front: Front Microphone (priority: 8500, not available)
analog-input-microphone-rear: Rear Microphone (priority: 8200, not available)
analog-input-linein: Line In (priority: 8100, available)
Active Port: analog-input-microphone-front
Formats:
pcm
如果一切成功,我们现在可以将其放在/etc/pulse/default.pa
文件末尾,如下所示:
set-source-port 1 analog-input-microphone-front
不过,作为一个有趣的问题,您应该意识到PulseAudio应该由您来管理。自动插入前,应切换到前面板麦克风(前提是硬件支持设备检测)。