Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Steve Finney <sfinney@healthhero.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: /dev/dsp exclusive open?
Date: Wed, 19 Apr 2006 16:05:21 -0400	[thread overview]
Message-ID: <1145477122.31023.17.camel@mindpipe> (raw)
In-Reply-To: <F23ABFFDB8261D40A6F6D30EA0148825308F62@VS6.EXCHPROD.USA.NET>

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

      reply	other threads:[~2006-04-19 20:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-19 18:06 /dev/dsp exclusive open? Steve Finney
2006-04-19 20:05 ` Lee Revell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1145477122.31023.17.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=sfinney@healthhero.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox