Re: [linux-audio-dev] Reborn

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

Subject: Re: [linux-audio-dev] Reborn
From: Steve Harris (S.W.Harris_AT_ecs.soton.ac.uk)
Date: Tue Aug 13 2002 - 14:06:24 EEST


On Tue, Aug 13, 2002 at 12:23:28 +0200, günter geiger wrote:
> Actually I think for output only applications you could get off without a
> redesign. Just write your data to a buffer and wait until the process()
> fetches it. This will introduce a buffer copy, but the overhead is minimal
> and you can happily play into your favourite soundeditor. (Which is what
> we want).

True, but I think this is not ideal. The jack (ASIO, CoreAudio etc.) model
has some advantages in app design, so I think it is better to change the
model where possible. Plus, as you said, there is an additional copy.

That said people have used this technique to port apps for that do duplex
too, and I'm not sure what the best model would be if you wanted to
support open/read/write and jack style i/o in the same app. Port Audio
manages this I believe, I'm not sure what its API is like.

- Steve


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

This archive was generated by hypermail 2b28 : Tue Aug 13 2002 - 14:04:37 EEST