HOWTO: 在程序声音出问题时修正系统声音

参与到Ubuntu的翻译中来
回复
头像
freeflying
帖子: 521
注册时间: 2005-03-26 9:38

HOWTO: 在程序声音出问题时修正系统声音

#1

帖子 freeflying » 2005-04-19 15:52

This fix is painfully simple, but has worked for me several times, I hope it helps some of you having this problem too:

i) If you cant hear sounds in other programs (ie: media players, video, etc) then this is not the howto for you ... there are many other posts on how to get sounds in programs working, this post is how to get system (event) sounds to work when the other sounds work.

ii) This is tested using ALSA for all of your sound server settings ... if you havent rebooted since choosing ALSA for your sound server run 'sudo killall esd' before proceeding. (You can choose ALSA as your sound server in System > Preferences > Multimedia Sysem Selector - Set both Sync and Source to ALSA).

1) Click on System > Preferences > Sound
2) Uncheck "Enable Sound Server Startup"
3) Log out of Gnome
4) Log back into Gnome
5) Go back to System > Preferences > Sound
6) Check "Enable Sound Server Startup"
7) Test, if all went well your system sounds should now work.

It appears that although the 'sound server startup' option is checked, it isn't really enabled. The above has fixed the problem for me numerous times.

The same fix appears to work in KDE (kubuntu) as well:

1) Goto System > Settings
2) Click on 'Sound & Multimedia'
3) Click on 'System Notifications'
4) Click on 'Player Settings' Button
5) Select 'Use External Player' and type 'aplay' in the box.
6) Click 'OK' for both screens
7) Test it this way (my experiance is that sounds are choppy this way and get cut off)
8) If you heard sounds at step 7 continue on to the following steps
9) Repeat steps 3-4
10) Choose 'Use the KDE Sound System'
11) Click OK twice and test (At this point all sounds worked correctly for me in KDE)

Let me know if these instructions helped.
头像
ct
帖子: 2201
注册时间: 2005-04-06 21:15
来自: 安徽黄山
联系:

HOWTO:在程序声音出问题时修正系统声音

#2

帖子 ct » 2005-04-25 5:09

这个修正有点费事,但是对于我它能在好几种情况下正常工作,如果你碰到类似的情况,希望对你有所帮助:
i)如果你能在其它的程序里听到声音(比如:媒体播放器,电影等等),你不需要这个how to...因为有更多的帖子告诉你怎么让程序的声音能正常工作,这个帖子是告诉你如何在其它程序有声音的情况下让系统(事件)能够发出声音。

ii)这是一个测试过的使用ALSA作为你的所有的声音服务器的设置...如果你不想在设ALSA作为你的声音服务器后重启可以先运行‘sudo killadd esd’。(你可以把ALSA作为你的声音服务器通过 系统>首选项>多媒体系统选择器-把输入输出都设成ALSA)。
1)点击 系统>首选项>音效
2)不要选“启用音效服务器”
3)退出 Gnome
4)重新登录到 Gnome
5)再定位到 系统>首选项>音效
6)选择 “启用音效服务器”
7)测试,如果返回的信息正常你的系统声音就能正常工作了。

如果只是通过点击‘启用音效服务器’,并不能真的打开它。上述内容能修正我在很多情况下碰到的问题。

在KDE(kubuntu)下相同的效果的修正办法:

1)点击 控制中心
2)选上 ‘声音和多媒体’
3)选上 ‘系统通知’
4)点击 ‘播放器设置’按钮
5)设置 ‘使用外部播放器程序’并且方式是‘自动装入’
6)在所有的窗口点击 ‘确定’
7)测试声音(我的情况是听到断断续续的声音而且声音被切断了一样)
8)如果你听到了像步骤7一样的声音则继续下面的步骤
9)重复步骤 3-4
10)选择 ‘使用KDE声音系统’
11)点两次确定然后再测试(到这里时我的KDE环境里的声音已经全部能够工作正常了)

如果这个办法可行请让我知道。
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#3

帖子 oneleaf » 2005-05-01 15:29

当净其意如虚空,远离妄想及诸取,令心所向皆无碍
头像
millenniumdark
论坛版主
帖子: 4159
注册时间: 2005-07-02 14:41
系统: Ubuntu 14.04 (Kylin)
联系:

#4

帖子 millenniumdark » 2006-07-31 22:32

我猜这个过时了
回复