[linux-audio-dev] Behaviour of write() in blocking/non-blocking mode

rm async at cc.gatech.edu
Wed Nov 27 22:36:01 UTC 2002


On Wed, Nov 27, 2002 at 09:13:31PM -0500, Greg Ward wrote:
> Hi all --
> 
> I'm making my first forays into OSS DSP programming with an eye to
> improving the standard linuxaudiodev module included with Python.  (And,
> of course, to using that module for my own ends!)

sounds cool! 

if you can help it, you might look at alsa (alsa-project.org) and jack
(jackit.sf.net) which is built on alsa. both are much nicer than OSS,
and make life much easier. 

(although, alsa will be default in the upcoming linux kernel, OSS
supports more platforms and is what people generally have at the
moment (well except for people who do audio stuff on linux)).

> I'm rather confused by the semantics of write() in blocking and
> [...]

with respect to audio, i don't think there are defined semantics. i
wouldn't rely to heavily on any of the implementation specific details
being the same from release to release or even from one driver to
another. but this comment is motivated mostly by my personal biases
rather than any empirical evidence.

	good luck,

	rob

----
Robert Melby
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:     ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt4255a
Internet: async at cc.gatech.edu



More information about the Linux-audio-dev mailing list