[讨论]Linux与XP的音质对比
发表于 : 2008-07-29 10:10
我在Linux下听MP3或看RMVB,音质很差,很多的爆音,但是在XP下音质就好多了,是不是Linux下的声音播放没有针对硬件优化好啊,看来Linux在娱乐方面还需要多多改进。
强调一下,我用的Linux发行版是Arch,用ALSA驱动的音频。
强调一下,我用的Linux发行版是Arch,用ALSA驱动的音频。
你的意思是ubuntu的声音系统比Arch的占用CPU低?ubuntu不是用的ALSA?kofshower 写了:差不多,和驱动有一定关系。比如我的特有的驱动没有,少了一些音效。可是基本对音质没有影响。
此外。ubuntu的声音系统要占用小得多的cpu占用。当你软件混音的时候
误会啊,我是说linux比较寒,当声音自己发到alsa:hw:0上的时候比win使用混音的时候低。aeonhuang 写了:你的意思是ubuntu的声音系统比Arch的占用CPU低?ubuntu不是用的ALSA?kofshower 写了:差不多,和驱动有一定关系。比如我的特有的驱动没有,少了一些音效。可是基本对音质没有影响。
此外。ubuntu的声音系统要占用小得多的cpu占用。当你软件混音的时候
看你使用什么桌面了kofshower 写了:误会啊,我是说linux比较寒,当声音自己发到alsa:hw:0上的时候比win使用混音的时候低。aeonhuang 写了:你的意思是ubuntu的声音系统比Arch的占用CPU低?ubuntu不是用的ALSA?kofshower 写了:差不多,和驱动有一定关系。比如我的特有的驱动没有,少了一些音效。可是基本对音质没有影响。
此外。ubuntu的声音系统要占用小得多的cpu占用。当你软件混音的时候
越好的东西占用cpu越高。题目不是xp么?怎么扯到arch
有一本关于linux audio system的书上提到:
ALSA can solve the interprocess mixing problem (with dmix, unfortunately not enabled by default), but esd and arts came about before ALSA was common.
-----------------------------------------------------------------------------------------------------
Arts is effectively dead. But Pulseaudio has replaced ESD and is API/ABI compatable while being much superior.
现在力推Pulseaudio,可是你会发现cpu占用比较高
代码: 全选
hunch@hunch-laptop:~$ pidof aplayer|xargs ps up
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
hunch 26318 1.3 0.2 30252 2840 pts/0 Sl+ 15:07 0:03 dev/asound/apla
hunch@hunch-laptop:~$ pidof aplayer|xargs ps up
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
hunch 26318 1.3 0.2 30252 2840 pts/0 Sl+ 15:07 0:03 dev/asound/apla
hunch@hunch-laptop:~$ pidof aplayer|xargs ps up
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
hunch 26318 1.3 0.2 30252 2840 pts/0 Sl+ 15:07 0:03 dev/asound/apla
hunch@hunch-laptop:~$ pidof aplayer|xargs ps up
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
hunch 26318 1.3 0.2 30252 2840 pts/0 Sl+ 15:07 0:03 dev/asound/apla
hunch@hunch-laptop:~$ pidof aplayer|xargs ps up
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
hunch 26318 1.3 0.2 30252 2840 pts/0 Sl+ 15:07 0:03 dev/asound/apla
hunch@hunch-laptop:~$ pidof aplayer|xargs ps up
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
hunch 26318 1.3 0.2 30252 2840 pts/0 Sl+ 15:07 0:03 dev/asound/apla
代码: 全选
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
aplayer 26318 hunch cwd DIR 8,5 5736 58844 /home/hunch
aplayer 26318 hunch rtd DIR 8,1 4096 2 /
aplayer 26318 hunch txt REG 8,5 46225 62023 /home/hunch/dev/asound/aplayer
aplayer 26318 hunch mem REG 8,1 9684 562176 /lib/tls/i686/cmov/libdl-2.7.so
aplayer 26318 hunch mem REG 8,1 1364388 562170 /lib/tls/i686/cmov/libc-2.7.so
aplayer 26318 hunch mem REG 8,1 112354 562196 /lib/tls/i686/cmov/libpthread-2.7.so
aplayer 26318 hunch mem REG 8,1 42700 544640 /lib/libgcc_s.so.1
aplayer 26318 hunch mem REG 8,1 149328 562178 /lib/tls/i686/cmov/libm-2.7.so
aplayer 26318 hunch mem REG 8,1 970680 83667 /usr/lib/libstdc++.so.6.0.9
aplayer 26318 hunch mem REG 8,1 190584 544656 /lib/libncurses.so.5.6
aplayer 26318 hunch mem REG 8,5 1227168 425275 /home/hunch/dev/asound/api/lib/libfmodex.so.4.17.04
aplayer 26318 hunch mem REG 8,1 109152 544595 /lib/ld-2.7.so
aplayer 26318 hunch 0u CHR 136,0 2 /dev/pts/0
aplayer 26318 hunch 1u CHR 136,0 2 /dev/pts/0
aplayer 26318 hunch 2u CHR 136,0 2 /dev/pts/0
aplayer 26318 hunch 3u CHR 14,3 12213 /dev/dsp
aplayer 26318 hunch 4r REG 8,5 6162172 513252 /home/hunch/Desktop/%C6%E6%BC%A3%A4%CE%BA%A3.mp3