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

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Behaviour of write() in blocking/non-blocking mode
From: rm (async_AT_cc.gatech.edu)
Date: Thu Nov 28 2002 - 05:31:19 EET


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


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Nov 28 2002 - 05:33:11 EET