On Thu, 2 Nov 2000, 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.
The specification is bogus and should be fixed. select() is not
a function that was designed to start/stop anything. Writing
a specification to qualify some particular implementation's
side-affects is patently wrong. ioctl() was designed to control
things.
You should contact a committee member and get it fixed. Further,
all should fail to write code to such a so-called specification.
If specifications are allowed to be written like this, soon
the lights will go out when you open a file. This cannot be
allowed. Don't support such diatribe.
Cheers,
Dick Johnson
Penguin : Linux version 2.2.17 on an i686 machine (801.18 BogoMips).
"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.
-
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/
This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:11 EST