无法添加评论;所以这是一个“答案”,部分是一个问题(我可能会删除它):
在我安装我有时有一个问题与此并解决它,我进入声音设置,选择“输出音量”来OFF,然后ON和声音得到确定。
编辑:
你有没有尝试过
sudo apt-get install pavucontrol
运行pavucontrol
并检查设置。即输出设备的耳机,并确保不静音。
编辑:
您禁用了自动生成功能吗?如果不是,pulseuadio可能仍在运行(但已重新启动)。要检查PulseAudio守护程序是否正在运行,请执行以下操作:
pulseaudio --check && echo RUNNIG || echo DOWN
如果它正在运行并且一切正常,则应检查系统日志文件,以查看是否有故障提示。作为一种技巧,如果仅需要重新启动守护程序,则可以添加pulseaudio -k
到启动中以重新启动守护程序。
如果它正在运行并且要禁用它,则必须关闭自动生成。
请参阅禁用PulseAudio
如果未运行,则使用调试可能会获得一些有用的信息。
如果您将这些设置临时添加到配置中,这也将很有用。
用以下命令启动pulseaudio
pulseaudio --start --log-level=4 --log-target=file:pulse.log
# Level 4 is debug
然后开始调整并:
tail -f pulse.log
拔下插孔。记下最后一个日志条目;应该以以下形式结尾:
D [alsa-sink] sink.c: Volume change to 52057 at 83909698687 was written 17 usec late
插入插孔;寻找任何可以解释为什么没有声音的东西。即我的输出(工作)是:
D [pulseaudio] module-alsa-card.c: Jack 'Front Headphone Jack' is now plugged in
D [pulseaudio] device-port.c: Setting port analog-output-speaker to status no
D [pulseaudio] module-switch-on-port-available.c: finding port analog-output-speaker
D [pulseaudio] device-port.c: Setting port analog-output-headphones to status yes
D [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D [pulseaudio] module-switch-on-port-available.c: finding port analog-output-headphones
D [alsa-sink] alsa-mixer.c: Activating path analog-output-headphones
D [alsa-sink] alsa-mixer.c: Path analog-output-headphones (Headphones), direction=1, priority=90, probed=yes, supported=yes, has_mute=yes, has_volume=yes, has_dB=yes, min_volume=0, max_volume=31, min_dB=-93, max_dB=0
D [alsa-sink] alsa-mixer.c: Element Master, direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=yes
D [alsa-sink] alsa-mixer.c: Element Headphone, direction=1, switch=1, volume=0, volume_limit=-1, enumeration=0, required=0, required_any=4, required_absent=0, mask=0x0, n_channels=0, override_map=yes
D [alsa-sink] alsa-mixer.c: Element Speaker, direction=1, switch=2, volume=2, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=no
D [alsa-sink] alsa-mixer.c: Element PCM, direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=yes
D [alsa-sink] alsa-mixer.c: Jack Front Headphone, alsa_name='Front Headphone Jack', detection possible
D [alsa-sink] alsa-mixer.c: Jack Headphone, alsa_name='Headphone Jack', detection unavailable
I [alsa-sink] alsa-sink.c: Successfully enabled deferred volume.
I [alsa-sink] alsa-sink.c: Hardware volume ranges from -93.00 dB to 0.00 dB.
I [alsa-sink] alsa-sink.c: Fixing base volume to 0.00 dB
I [alsa-sink] alsa-sink.c: Using hardware volume control. Hardware dB scale supported.
I [alsa-sink] alsa-sink.c: Using hardware mute control.
I [pulseaudio] sink.c: Changed port of sink 0 "alsa_output.pci-0000_00_1b.0.analog-stereo" to analog-output-headphones
I [pulseaudio] module-device-restore.c: Restoring volume for sink alsa_output.pci-0000_00_1b.0.analog-stereo.
D [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D [alsa-sink] alsa-sink.c: Requested volume: 0: 100% 1: 100%
D [alsa-sink] alsa-sink.c: in dB: 0: 0.00 dB 1: 0.00 dB
D [alsa-sink] alsa-sink.c: Got hardware volume: 0: 100% 1: 100%
D [alsa-sink] alsa-sink.c: in dB: 0: 0.00 dB 1: 0.00 dB
D [alsa-sink] alsa-sink.c: Calculated software volume: 0: 100% 1: 100% (accurate-enough=yes)
D [alsa-sink] alsa-sink.c: in dB: 0: 0.00 dB 1: 0.00 dB
D [alsa-sink] sink.c: Volume going up to 65536 at 83942385195
I [pulseaudio] module-devic2 events suppRestoring mute state for sink alsa_output.pci-0000_00_1b.0.analog-stereo.
D [alsa-sink] sink.c: Next volume change in 17483 usec
D [alsa-sink] alsa-sink.c: Requested to rewind 65536 bytes.
D [alsa-sink] alsa-sink.c: Limited to 2824 bytes.
D [alsa-sink] alsa-sink.c: before: 706
D [alsa-sink] alsa-sink.c: after: 706
D [alsa-sink] alsa-sink.c: Rewound 2824 bytes.
D [alsa-sink] sink.c: Processing rewind...
D [alsa-sink] sink.c: latency = 1358
D [alsa-sink] sink.c: Next volume change in 1358 usec
D [alsa-sink] sink-input.c: Have to rewind 2824 bytes on render memblockq.
D [alsa-sink] source.c: Processing rewind...
D [alsa-sink] sink.c: Next volume change in 1249 usec
D [alsa-sink] sink.c: Next volume change in 1221 usec
D [alsa-sink] sink.c: Next volume change in 1201 usec
D [alsa-sink] sink.c: Next volume change in 872 usec
D [alsa-sink] sink.c: Next volume change in 842 usec
D [alsa-sink] sink.c: Next volume change in 819 usec
D [alsa-sink] sink.c: Next volume change in 799 usec
D [alsa-sink] sink.c: Next volume change in 764 usec
D [alsa-sink] sink.c: Next volume change in 744 usec
D [alsa-sink] sink.c: Volume change to 65536 at 83942369199 was written 0 usec late
另一个值得检查/破解的东西是gstreamer-properties
(Alt+ F2 gstreamer-properties
Enter)。
如果您不想要pulseaudio,可以尝试使用jack。