我本来要打 Skype 电话,但却听不到任何声音。到目前为止一切都正常。而且,当我检查时,我听不到任何歌曲、视频或 YouTube 上的任何视频。
进行了一些搜索并执行了以下命令:
sudo gpasswd -a akshay audio
在此之后,我执行了-
killall pulseaudio
但我还是听不到任何声音。
有任何想法吗 ?
pulseaudio --check
没有工作,什么也没有显示。
以下是 的结果pulseaudio --dump-conf
:
akshay@akshay-Inspiron-5521:~$ pulseaudio --dump-conf
### Read from configuration file: /etc/pulse/daemon.conf ###
daemonize = no
fail = yes
high-priority = yes
nice-level = -11
realtime-scheduling = yes
realtime-priority = 5
allow-module-loading = yes
allow-exit = yes
use-pid-file = yes
system-instance = no
local-server-type = user
cpu-limit = no
enable-shm = yes
flat-volumes = no
lock-memory = no
exit-idle-time = 20
scache-idle-time = 20
dl-search-path = /usr/lib/pulse-3.0/modules
default-script-file = /etc/pulse/default.pa
load-default-script-file = yes
log-target = auto
log-level = notice
resample-method = speex-float-1
enable-remixing = yes
enable-lfe-remixing = no
default-sample-format = s16le
default-sample-rate = 44100
alternate-sample-rate = 48000
default-sample-channels = 2
default-channel-map = front-left,front-right
default-fragments = 8
default-fragment-size-msec = 10
enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 1
deferred-volume-extra-delay-usec = 0
shm-size-bytes = 0
log-meta = no
log-time = no
log-backtrace = 0
rlimit-fsize = -1
rlimit-data = -1
rlimit-stack = -1
rlimit-core = -1
rlimit-rss = -1
rlimit-as = -1
rlimit-nproc = -1
rlimit-nofile = 256
rlimit-memlock = -1
rlimit-locks = -1
rlimit-sigpending = -1
rlimit-msgqueue = -1
rlimit-nice = 31
rlimit-rtprio = 9
rlimit-rttime = 1000000
答案1
您的音量为 0,因此您听不到任何声音:
$ amixer -c 0 -- sget Master
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 64
Mono: Playback 0 [0%] [-64.00dB] [on]
您有两个选择,使用包alsamixer
中的选项alsa-utils
:
sudo apt-get -y install alsa-utils && alsamixer
并使用不错的诅咒来修改您的音量,或者直接按照amixer
评论中指出的那样进行操作:
amixer -c 0 -- sset Master 100%
使用分贝也是有效的:
amixer -c 0 -- sset Master -24dB
然后检查您的系统音量管理器以检查音量是否正确并震撼您的世界!