public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeff Garzik <jgarzik@mandrakesoft.com>
To: Thomas Sailer <sailer@ife.ee.ethz.ch>
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: Poll and OSS API
Date: Thu, 02 Nov 2000 09:50:27 -0500	[thread overview]
Message-ID: <3A017F33.BE30ACD@mandrakesoft.com> (raw)
In-Reply-To: <3A017443.8E436A97@ife.ee.ethz.ch>

Thomas Sailer wrote:
> 
> The OSS API (http://www.opensound.com/pguide/oss.pdf, page 102ff)
> specifies that a select _with the sounddriver's filedescriptor
> set in the read mask_ should start the recording.
> 
> Implementing this is currently not possible, as the driver does
> not get to know whether the application had the filedescriptor
> set in the select call. Similarily for poll, the driver does not
> get the caller's events.

Well, it's only a problem for full duplex :)  If you are write-only in
poll(), read doesn't apply.  Read-only in poll(), and you start DMA. 
For full duplex...  my Via driver starts DMA'ing.  That was my
interpretation of the spec.


> I don't think this is all that important though, because
> it's that way for more than a year and the first complaint
> reached me yesterday.

What was the complaint?

FWIW I highly recommend Rui Sousa's oss-test stuff.  Check out the
"emu10k1" module from Creative's CVS server, and look in the
emu10k1/utils/oss-test directory.

Regards,

	Jeff


Creative CVS info:
export
CVSROOT=:pserver:cvsguest@opensource.creative.com:/usr/local/cvsroot
echo note - password is 'cvsguest'

-- 
Jeff Garzik             | Dinner is ready when
Building 1024           | the smoke alarm goes off.
MandrakeSoft            |	-/usr/games/fortune
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2000-11-02 14:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-02 14:03 Poll and OSS API Thomas Sailer
2000-11-02 14:23 ` Richard B. Johnson
2000-11-02 14:27   ` Thomas Sailer
2000-11-02 14:47     ` Richard B. Johnson
2000-11-02 14:35   ` Jeff Garzik
2000-11-02 14:50 ` Jeff Garzik [this message]
2000-11-02 17:38 ` Linus Torvalds
2000-11-02 17:59   ` Alan Cox
2000-11-04  6:18   ` Jeff Garzik
2000-11-04  6:39     ` Linus Torvalds
2000-11-04  7:18       ` Jeff Garzik
2000-11-04  7:26       ` Jeff Garzik

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=3A017F33.BE30ACD@mandrakesoft.com \
    --to=jgarzik@mandrakesoft.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sailer@ife.ee.ethz.ch \
    --cc=torvalds@transmeta.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