当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 18 篇帖子 ]  前往页数 1, 2  下一页
作者 内容
1 楼 
 文章标题 : ubuntu什么时候能解决声卡独占问题啊??
帖子发表于 : 2008-07-23 22:53 
头像

注册: 2008-04-20 16:37
帖子: 20
送出感谢: 0 次
接收感谢: 0 次
装上UBUNTU,这几天专门去配置他的声音去了
但终究totem和rhythmbox不能同时发声,还有firefox里的flash声音问题,为什么要配置后才能发声……
现在很痛苦……
希望能早日解决声卡独占的问题
老鸟们谁有解决方法贴出来,看能不能用上……谢了


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2008-07-23 23:52 
头像

注册: 2007-03-13 11:23
帖子: 1343
送出感谢: 0 次
接收感谢: 0 次
不是早解决了么 http://ubuntuforums.org/showthread.php?t=789578


_________________
"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/


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2008-07-24 0:03 
头像

注册: 2008-06-11 17:02
帖子: 164
送出感谢: 0 次
接收感谢: 0 次
lz试这个了吗?
系统────首选项────音效
设备 里面都改成 alsa

(我的就没有问题了)


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2008-07-24 0:21 

注册: 2008-01-09 22:41
帖子: 18311
送出感谢: 0 次
接收感谢: 6
athx 写道:
lz试这个了吗?
系统────首选项────音效
设备 里面都改成 alsa

(我的就没有问题了)


真的假的?

太霹雳了


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2008-07-24 1:02 
头像

注册: 2007-03-13 11:23
帖子: 1343
送出感谢: 0 次
接收感谢: 0 次
后代 写道:
athx 写道:
lz试这个了吗?
系统────首选项────音效
设备 里面都改成 alsa

(我的就没有问题了)


真的假的?

太霹雳了

显然还是会有问题的,比如我随便写个播放器,把音频输出写到alsa的hw上,要是你其他东西还能播放,我就服了你。
结果是你会看到任何的声音程序被阻塞在了这儿。所以才必须有一个pulseserver这样耗资源的daemon来出力


_________________
"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/


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2008-07-24 8:33 
头像

注册: 2008-04-20 16:37
帖子: 20
送出感谢: 0 次
接收感谢: 0 次
kofshower 写道:

我想问一下,这里面的操作是不是要从开始一条一条照做?
由于我以前乱改,执行第一条就出了问题,提示找不到asoundrc*


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2008-07-24 10:18 
头像

注册: 2007-03-13 11:23
帖子: 1343
送出感谢: 0 次
接收感谢: 0 次
这篇写的很全,不要全做。事实上你看完了就会发现
代码:
Before you start: Please read the following points to find out if you should use this guide.

    * This guide is intended only for Ubuntu 8.04. Although many steps work for the development release (Intrepid), there are kernel issues in the Intrepid release that I will not currently support in this thread.
    * If you are running Kubuntu/Xubuntu/Edubuntu 8.04, this guide is not for you (as PulseAudio is not used for these distribution flavours).
    * If you cannot get sound working under any circumstances, then you are probably suffering from a kernel or ALSA bug - this guide is probably not for you.
    * If you have a brand-new sound card that is not supported in ALSA, and/or you are using OSS v4 - this guide is not for you.
    * If you notice a lot of stuttering sound on your system, especially since upgrading to the Hardy release, this guide is for you.
    * If you can get sound working in some applications but not others, or you find that audio mixing is broken, this guide is for you.
    * If you wish to have equalized sound system-wide, this guide is for you.

不做的话会有什么样子的软件存在bug,比如flash 10
代码:
Which part(s) should I follow?
Part A is a required step you must follow, as it will enable proper PulseAudio support in most ALSA-aware applications.

Part B (i386 only) will install version 10 (beta) of Adobe's Flash plugin, as it has better compatibility with PulseAudio.

Part C is highly recommended if you notice a lot of stuttering audio in some applications. The settings proposed in this guide work well for my system, but you may need to do some manual tweaking to get the best results for your hardware.

Part D is an optional step that enables a system-wide audio equalizer (which can be customized using any LADSPA audio processing plugin). The settings provided in this guide are ideal for laptop users who notice poor quality audio playback using their built-in laptop speakers.

Appendix A gives information on specific applications including Skype, WINE as well as SDL and OSS applications. Appendix B helps troubleshoot audio playback/mixing issues using the PulseAudio Volume Control application. Appendix C will revert all changes made by this guide (if for some reason you can't get PulseAudio working properly).

这儿说你必须做哪些
------------------------------------------------------------------------------------
此外这些都有备份的,如果不行
看文章的最后
代码:
$ sudo apt-get install flashplugin-nonfree/hardy libsdl1.2debian-alsa
$ sudo rm ~/.asoundrc* /etc/asound.conf ~/.libao ~/.pulse/daemon.conf ~/.pulse/default.pa
$ sudo cp ~/pulse-backup/asound.conf /etc/
$ cp ~/pulse-backup/.asoundrc* ~/


_________________
"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/


页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2008-07-24 10:21 
头像

注册: 2007-03-13 11:23
帖子: 1343
送出感谢: 0 次
接收感谢: 0 次
我自己实验过了。可是这个之后,你的什么播放器之类的话,还必须将音频驱动设置为pulse.比如mplayer。看完全文很重要,不要断章取义。regard~~~


附件:
文件注释: 开了多个播放器,混音。其实这个的原理就是将输出到hw的声音输入到这个服务上,用这个来软件混音之后发到硬件
2008-07-24-102352_705x728_scrot.png
2008-07-24-102352_705x728_scrot.png [ 146.27 KiB | 被浏览 1469 次 ]

2008-07-24-102009_406x470_scrot.png
2008-07-24-102009_406x470_scrot.png [ 54.63 KiB | 被浏览 1464 次 ]



_________________
"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/
页首
 用户资料  
 
9 楼 
 文章标题 :
帖子发表于 : 2008-07-24 11:09 
头像

注册: 2008-04-20 16:37
帖子: 20
送出感谢: 0 次
接收感谢: 0 次
kofshower 写道:
这篇写的很全,不要全做。事实上你看完了就会发现
代码:
Before you start: Please read the following points to find out if you should use this guide.

    * This guide is intended only for Ubuntu 8.04. Although many steps work for the development release (Intrepid), there are kernel issues in the Intrepid release that I will not currently support in this thread.
    * If you are running Kubuntu/Xubuntu/Edubuntu 8.04, this guide is not for you (as PulseAudio is not used for these distribution flavours).
    * If you cannot get sound working under any circumstances, then you are probably suffering from a kernel or ALSA bug - this guide is probably not for you.
    * If you have a brand-new sound card that is not supported in ALSA, and/or you are using OSS v4 - this guide is not for you.
    * If you notice a lot of stuttering sound on your system, especially since upgrading to the Hardy release, this guide is for you.
    * If you can get sound working in some applications but not others, or you find that audio mixing is broken, this guide is for you.
    * If you wish to have equalized sound system-wide, this guide is for you.

不做的话会有什么样子的软件存在bug,比如flash 10
代码:
Which part(s) should I follow?
Part A is a required step you must follow, as it will enable proper PulseAudio support in most ALSA-aware applications.

Part B (i386 only) will install version 10 (beta) of Adobe's Flash plugin, as it has better compatibility with PulseAudio.

Part C is highly recommended if you notice a lot of stuttering audio in some applications. The settings proposed in this guide work well for my system, but you may need to do some manual tweaking to get the best results for your hardware.

Part D is an optional step that enables a system-wide audio equalizer (which can be customized using any LADSPA audio processing plugin). The settings provided in this guide are ideal for laptop users who notice poor quality audio playback using their built-in laptop speakers.

Appendix A gives information on specific applications including Skype, WINE as well as SDL and OSS applications. Appendix B helps troubleshoot audio playback/mixing issues using the PulseAudio Volume Control application. Appendix C will revert all changes made by this guide (if for some reason you can't get PulseAudio working properly).

这儿说你必须做哪些
------------------------------------------------------------------------------------
此外这些都有备份的,如果不行
看文章的最后
代码:
$ sudo apt-get install flashplugin-nonfree/hardy libsdl1.2debian-alsa
$ sudo rm ~/.asoundrc* /etc/asound.conf ~/.libao ~/.pulse/daemon.conf ~/.pulse/default.pa
$ sudo cp ~/pulse-backup/asound.conf /etc/
$ cp ~/pulse-backup/.asoundrc* ~/


我以前也看过一个解决方法http://forum.ubuntu.org.cn/viewtopic.php?t=136598
和你这个方法有什么区别?
我用了他这个方法之后,smplayer和rhythmbox能够同时播放,但是totem不行
totem找不到调节声音输出的地方
如你所言,你这个方法声音是通过一个服务输出的,会不会加大系统的负载?
是不是所有软件都要调节成pulse输出?


页首
 用户资料  
 
10 楼 
 文章标题 :
帖子发表于 : 2008-07-24 13:22 
头像

注册: 2008-04-20 16:37
帖子: 20
送出感谢: 0 次
接收感谢: 0 次
搞定了!!!!
原来是flash 9的问题,不支持pulseaudio输出
具体请查阅这里http://ubuntuforums.org/showthread.php?p=4928900
有个补丁可以下载解决这个问题
现在正在边听歌边看电影边看flash,哈哈


页首
 用户资料  
 
11 楼 
 文章标题 :
帖子发表于 : 2008-07-24 13:23 
头像

注册: 2006-07-02 11:16
帖子: 12522
地址: 廣州
送出感谢: 0 次
接收感谢: 8
把所有音频软件的输出都设到 alsa 就可以了

至于你自己写一个软件直接控制hw,那就没什么好说了,这是跟alsa抢hw,而hw这层是不可能支持混音的


_________________
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。


页首
 用户资料  
 
12 楼 
 文章标题 :
帖子发表于 : 2008-07-24 19:02 
头像

注册: 2007-03-13 11:23
帖子: 1343
送出感谢: 0 次
接收感谢: 0 次
lxjsilver 写道:
搞定了!!!!
原来是flash 9的问题,不支持pulseaudio输出
具体请查阅这里http://ubuntuforums.org/showthread.php?p=4928900
有个补丁可以下载解决这个问题
现在正在边听歌边看电影边看flash,哈哈

flash 9 有bug么,这篇文章中是说flash10的bug


_________________
"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/


页首
 用户资料  
 
13 楼 
 文章标题 :
帖子发表于 : 2008-07-24 19:07 
头像

注册: 2007-03-13 11:23
帖子: 1343
送出感谢: 0 次
接收感谢: 0 次
BigSnake.NET 写道:
把所有音频软件的输出都设到 alsa 就可以了

至于你自己写一个软件直接控制hw,那就没什么好说了,这是跟alsa抢hw,而hw这层是不可能支持混音的

pulseaudio就是可以配置,他自己抢了叫我无处可抢。然后再大吼一声,音频输出全部发到我这儿。 :em06 让我想起某人的签名,走别人的路,让别人无路可走


_________________
"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/


页首
 用户资料  
 
14 楼 
 文章标题 :
帖子发表于 : 2008-07-24 19:10 
头像

注册: 2006-07-02 11:16
帖子: 12522
地址: 廣州
送出感谢: 0 次
接收感谢: 8
kofshower 写道:
BigSnake.NET 写道:
把所有音频软件的输出都设到 alsa 就可以了

至于你自己写一个软件直接控制hw,那就没什么好说了,这是跟alsa抢hw,而hw这层是不可能支持混音的

pulseaudio就是可以配置,他自己抢了叫我无处可抢。然后再大吼一声,音频输出全部发到我这儿:em06 让我想起某人的签名,走别人的路,让别人无路可走


问题是这步怎么搞呢, 人家不一定听你的话哦

alsa 的话可以用 aoss


_________________
^_^ ~~~
要理解递归,首先要理解递归。

地球人都知道,理论上,理论跟实际是没有差别的,但实际上,理论跟实际的差别是相当大滴。


页首
 用户资料  
 
15 楼 
 文章标题 :
帖子发表于 : 2008-07-24 22:22 
头像

注册: 2008-04-20 16:37
帖子: 20
送出感谢: 0 次
接收感谢: 0 次
kofshower 写道:
lxjsilver 写道:
搞定了!!!!
原来是flash 9的问题,不支持pulseaudio输出
具体请查阅这里http://ubuntuforums.org/showthread.php?p=4928900
有个补丁可以下载解决这个问题
现在正在边听歌边看电影边看flash,哈哈

flash 9 有bug么,这篇文章中是说flash10的bug


呵呵
貌似搞错了
是这篇文章
http://wiki.ubuntu.org.cn/UbuntuWiki:Pu ... PulseAudio


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 18 篇帖子 ]  前往页数 1, 2  下一页

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译