The /dev/dsp is a channel handled by sound driver. In most cases, only one process can lock on to the channel because sound card/sound driver are only capable of handling one channel at a time.

There are exception to this, like Creative Live! card/driver can handle upto 32 channels, mixing the appropriately before rendering them on your speaker.

OTH, one can run daemon like esd or arts to do the mixing in software and produce the output. In this case, esd capable application just posts the sound data to esd(agent) which is locking the /dev/dsp

HTH

Supreet





Viksit Gaur wrote:

Hullo!

Whats the deal with running 2 applications using
/dev/dsp together? Lets say i want to run xmms and
play quake3a, I can't - Q3 just won't start. Killing
off xmms immediately starts it.

Also, what if i'm using xmms, and suddenly need to see
a video in mplayer - mplayer gives me an error saying
that it couldn't open /dev/dsp.

Is it because xmms locks the file, or changes its
access permissions? or is it just some setting
somewhere which needs to be changed?

Cheers!

Vik

=====
--
Viksit Gaur


me[at]viksit[dot]com
viksit[at]linux-delhi[dot]org
http://viksit.com

'Not all who wander are lost.' - J.R.R. Tolkien, The Fellowship of the Ring

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com


_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/






_______________________________________________
ilugd mailinglist -- ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/ilugd@lists.linux-delhi.org/

Reply via email to