SoundProblemsHoary

Differences between revisions 5 and 6
Revision 5 as of 2005-08-05 03:03:06
Size: 2589
Editor: ool-182f334b
Comment: made esd comment make sense
Revision 6 as of 2005-08-05 03:03:33
Size: 2590
Editor: ool-182f334b
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
esd must be configured to release the sound card when it is not using it. Place the following in your /etc/esound/esd.conf esd must be configured to release the sound card when it is not using it. Place the following in your /etc/esound/esd.conf:

There are a number of issues involving sound on Hoary Hedgehog (5.04). This outlines some fixes for some common problems.

General fix

Ubuntu uses a program called esd to allow multiple applications to access the sound card at one time. However, many third party applications not in Ubuntu main aren't designed to use esd to access the card. On some sound cards, this causes these applications to not produce sound. To work around this problem, esd must be configured to release the sound card when it is not using it. Place the following in your /etc/esound/esd.conf:

{{{[esd] auto_spawn=0 spawn_wait_ms=100 default_options= -terminate -nobeeps -as 2}}}

You will need to restart the sound server, whether from gnome preferences, or by logging out and back in. You should then be able to change System -> Preferences -> Multimedia System Selector, set Default Sink and Source to Alsa (or OSS), and then successfully use the test buttons. Other GNOME applications which depend on being able to access the native audio devices include GnomeMeeting.

Note: this problem only occurs on the Ubuntu Hoary release and newer. Kubuntu is not affected as it uses KDE Arts, although the default timeout for the sound server in KDE may be set rather long, can someone confirm? [It is sixty seconds.]

Firefox and Flash player sound

  • This fix is to make sound play with the flash plugin
  • sudo ln -s /usr/lib/libesd.so.0 /usr/lib/libesd.so.1 (in the console, of course)

XMMS

  • press ctrl+p and select libesdout.so as the output plugin and click apply.

Xine:

  • switch level_experience to Master of all known bla-bla-bla...etc...
  • goto audio
  • audio driver: (alsa or oss) (alsa was the first to work, now they both work)
  • oss audio device number (1 or 0) (1 was the first to work, but now 0 is working to)
  • offset for digital passthrough ( 0 )
  • always resample to this rate ( 0 )
  • enable resampling (auto)
  • go ok and restart xine.
  • insert a DVD and press g to show the controls.
  • now click in the pseudo-up arrow left to AUD: and put it to 0 or 1 (1 was once again the first to work, but now its even working with auto ( 0 i suppose).

Polypaudio:

  • Installing polypaudio and replacing esound as your sound server also seems to work.

For all other probs try:

  • in a Terminal, fuser /dev/dsp (the process that is using the sound system - my system nx7010)
  • in a Terminal, kill [number of process given by fuser command]

CategoryDocumentation CategoryCleanup

SoundProblemsHoary (last edited 2008-08-06 16:33:52 by localhost)