All of lore.kernel.org
 help / color / mirror / Atom feed
* Poll and OSS API
@ 2000-11-02 14:03 Thomas Sailer
  2000-11-02 14:23 ` Richard B. Johnson
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Thomas Sailer @ 2000-11-02 14:03 UTC (permalink / raw)
  To: torvalds, linux-kernel

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.

Different drivers do it differently. The ISA SB driver just 
unconditionally starts recording on select, whether the bit
in the read mask is set or not. es137* unconditionally does
not start recording. Both drivers violate the API.

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.

Comments?

Tom
-
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/

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2000-11-04  7:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.