• Advertisement


This topic is now archived and is closed to further replies.

Audio in Linux

This topic is 5870 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, I cant believe that my audio system is working correctly. Only one instance can play sound at a time. For example if I play music with mp3 then for example blender reports at startup: open /dev/dsp: Resource temporarily unavailable Are my audio set up correctly? I have Soltek motherboard with integrated VIA sound ac97 ships. It with every two apps. For example RealPlayer or Java-Applets hang up until I stop XMMS playing. I can''t believe it. Help

Share this post

Link to post
Share on other sites
You just touched on the Linux sound output issue,
there's a lot of differing views on how applications
should output sound.

xmms for example outputs by opening /dev/dsp.
But when any one application opens /dev/dsp
no other application can open it.

Now there are two primary work arounds for this
situation. 1. Use ALSA 2. Use a sound server.

ALSA is a sound driver that allows any application
to open via the ALSA API the DSP output and allow
multiple instances.

The sound server is one application that opens
/dev/dsp but opens a network port in which applications
that use that sound server's API can connect via
network and play sound (advantage with this is that
you can play sound to a distant machine). Such
sound servers are like ESounD and YIFF.

However the problem still goes back to applications
that directly open /dev/dsp. I believe xmms has
a plugin that allows it to use ESounD (the sound
server). Not many applications use ALSA since the
ALSA API and implmentation is still on the drawing

Edited by - learfox on February 24, 2002 6:29:05 AM

Share this post

Link to post
Share on other sites
Actually, ALSA should be having more support soon, since I read over on /. that Linus has finally merged ALSA into the kernel. Of course, this only applies to the 2.5 kernel tree so far, which isn''t for the faint-of-heart.

rm -rf /bin/laden

Share this post

Link to post
Share on other sites

I managed to get it working somehow. Sometimes I have to pause XMMS for a while to let Mozilla continue (propable on pages that has Java).

ESound,OSS,ALSA,arts,native,... huh!

Share this post

Link to post
Share on other sites

  • Advertisement