在过去的几个月里,我一直在我的旧戴尔Inspiron 3558笔记本电脑上使用Ubuntu20.04,它工作起来很有魅力。最近,我买了一台新的笔记本电脑,戴尔Inspiron 3501,它预装了Windows 10,所以我在它上安装了Ubuntu 20.04来检查一切是否正常,后来我想完全删除Windows,并安装Ubuntu作为我的主要操作系统。
安装后,一切正常,除了音频输出。那种声音发出劈啪声。不过,它在Windows上运行得非常好。
我测试了内置扬声器,蓝牙耳机和3.5毫米音频插孔输出,但没有区别。我尝试了YouTube视频和本地音频和视频文件,但结果是一样的。我尝试了很多在线解决方案,但都没有成功。我还安装了Ubuntu21.04,以检查新内核是否带来任何改进,但条件相同。所以我重新安装了Ubuntu20.04,因为我对LTS版本比较满意。
我是一个前端的web开发人员,我对基本命令行感到舒服,但我仍然认为自己是Linux新手。请帮我解决这个问题。
硬件规格:
编辑:
我能听声音,但声音很响。
lspci输出:
00:00.0 Host bridge: Intel Corporation Device 9a14 (rev 01)
00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)
00:04.0 Signal processing controller: Intel Corporation Device 9a03 (rev 01)
00:0a.0 Signal processing controller: Intel Corporation Device 9a0d (rev 01)
00:14.0 USB controller: Intel Corporation Device a0ed (rev 20)
00:14.2 RAM memory: Intel Corporation Device a0ef (rev 20)
00:14.3 Network controller: Intel Corporation Device a0f0 (rev 20)
00:15.0 Serial bus controller [0c80]: Intel Corporation Device a0e8 (rev 20)
00:15.1 Serial bus controller [0c80]: Intel Corporation Device a0e9 (rev 20)
00:16.0 Communication controller: Intel Corporation Device a0e0 (rev 20)
00:17.0 SATA controller: Intel Corporation Device a0d3 (rev 20)
00:1c.0 PCI bridge: Intel Corporation Device a0bc (rev 20)
00:1d.0 PCI bridge: Intel Corporation Device a0b0 (rev 20)
00:1f.0 ISA bridge: Intel Corporation Device a082 (rev 20)
00:1f.3 Audio device: Intel Corporation Device a0c8 (rev 20)
00:1f.4 SMBus: Intel Corporation Device a0a3 (rev 20)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device a0a4 (rev 20)
01:00.0 Non-Volatile memory controller: Sandisk Corp Device 5007 (rev 01)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)用于lspci -v (音频设备)的00:1f.3输出:
00:1f.3 Audio device: Intel Corporation Device a0c8 (rev 20)
Subsystem: Dell Device 0a25
Flags: bus master, fast devsel, latency 64, IRQ 149
Memory at 6001138000 (64-bit, non-prefetchable) [size=16K]
Memory at 6001000000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_sof_pci发布于 2021-11-29 07:31:30
首先,您需要用以下内容更改采样率:
sudo gedit /etc/pulse/daemon.conf将包含“;默认抽样率=某事”的行改为
default-sample-rate = 48000和拯救
在我的例子中,我在播放声音时也有延迟,所以我用这个关闭了省电的功能。
sudo gedit /etc/pulse/default.pa换行
load-module module-suspend-on-idle使用
#load-module module-suspend-on-idle保存并运行此
sudo killall pulseaudiohttps://askubuntu.com/questions/1360733
复制相似问题