[讨论]Linux与XP的音质对比
- aeonhuang
- 帖子: 115
- 注册时间: 2008-06-01 22:55
- 来自: 广东
- 联系:
[讨论]Linux与XP的音质对比
我在Linux下听MP3或看RMVB,音质很差,很多的爆音,但是在XP下音质就好多了,是不是Linux下的声音播放没有针对硬件优化好啊,看来Linux在娱乐方面还需要多多改进。
强调一下,我用的Linux发行版是Arch,用ALSA驱动的音频。
强调一下,我用的Linux发行版是Arch,用ALSA驱动的音频。
The word aeon, also spelled eon or æon, means "age", "forever" or "for eternity".
- aric286
- 帖子: 960
- 注册时间: 2007-12-03 9:54
- 联系:
- laowu2141
- 帖子: 530
- 注册时间: 2007-06-19 11:25
- 系统: kubuntu 13.04
- 来自: 北京
- 联系:
- aeonhuang
- 帖子: 115
- 注册时间: 2008-06-01 22:55
- 来自: 广东
- 联系:
- kofshower
- 帖子: 1343
- 注册时间: 2007-03-13 11:23
- 联系:
差不多,和驱动有一定关系。比如我的特有的驱动没有,少了一些音效。可是基本对音质没有影响。
此外。ubuntu的声音系统要占用小得多的cpu占用。当你软件混音的时候
此外。ubuntu的声音系统要占用小得多的cpu占用。当你软件混音的时候
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
- aeonhuang
- 帖子: 115
- 注册时间: 2008-06-01 22:55
- 来自: 广东
- 联系:
- qiang_liu8183
- 论坛版主
- 帖子: 10699
- 注册时间: 2006-09-10 22:36
- 系统: Arch Debian
- 来自: 北京
- laowu2141
- 帖子: 530
- 注册时间: 2007-06-19 11:25
- 系统: kubuntu 13.04
- 来自: 北京
- 联系:
- kofshower
- 帖子: 1343
- 注册时间: 2007-03-13 11:23
- 联系:
误会啊,我是说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占用比较高
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
- dogfox
- 论坛版主
- 帖子: 5311
- 注册时间: 2006-09-02 14:18
- 来自: 汉桑城
- 联系:
看你使用什么桌面了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占用比较高
全世界linux爱好者联合起来 !
- kofshower
- 帖子: 1343
- 注册时间: 2007-03-13 11:23
- 联系:
喔喔,狗胡。其他桌面有各自的声音服务么?
-------------------------------------------------------------
看看播放mp3时候的cpu占用。
直接发/dev/dsp的。
可以看到播放时候的cpu占用不过1.3%
xp下面很难做到
-------------------------------------------------------------
代码: 全选
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
直接发/dev/dsp的。
可以看到播放时候的cpu占用不过1.3%
代码: 全选
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
"We are all in the mud, but some of us are looking at the stars." (Oscar Wilde)
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/
We are not born for ourselves.
人生天地间,并非为自己
Homepage:http://sites.google.com/site/polarisnotme/