* /dev/dsp exclusive open?
@ 2006-04-19 18:06 Steve Finney
2006-04-19 20:05 ` Lee Revell
0 siblings, 1 reply; 2+ messages in thread
From: Steve Finney @ 2006-04-19 18:06 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 347 bytes --]
In various docs, I thought I had seen references to the fact that
only one process should be able to open /dev/dsp (OSS). I'm running ALSA 1.0.10rc1
(Linux kernel 2.6.14.3), and it appears as if it is possible to open
/dev/dsp twice (two separate processes), but the _third_ open will
return EBUSY. Is this a bug or a feature?
Thanks,
sf
[-- Attachment #2: Type: text/html, Size: 739 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: /dev/dsp exclusive open?
2006-04-19 18:06 /dev/dsp exclusive open? Steve Finney
@ 2006-04-19 20:05 ` Lee Revell
0 siblings, 0 replies; 2+ messages in thread
From: Lee Revell @ 2006-04-19 20:05 UTC (permalink / raw)
To: Steve Finney; +Cc: alsa-devel
On Wed, 2006-04-19 at 12:06 -0600, Steve Finney wrote:
> In various docs, I thought I had seen references to the fact that
> only one process should be able to open /dev/dsp (OSS). I'm running
> ALSA 1.0.10rc1
> (Linux kernel 2.6.14.3), and it appears as if it is possible to open
> /dev/dsp twice (two separate processes), but the _third_ open will
> return EBUSY. Is this a bug or a feature?
>
It depends on the hardware. If the device does hardware mixing like
emu10k1 or some VIA chips then multiple open will be possible. If the
hardware only handles a single stereo stream like most new devices then
only one process can open it.
Since your hardware supports two streams I am guessing this is a VIA
chipset?
Lee
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-19 20:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-19 18:06 /dev/dsp exclusive open? Steve Finney
2006-04-19 20:05 ` Lee Revell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.