Re: Opinions sought: AudioUnit Rendering
Re: Opinions sought: AudioUnit Rendering
- Subject: Re: Opinions sought: AudioUnit Rendering
- From: James McCartney <email@hidden>
- Date: Wed, 06 Mar 2002 00:14:21 -0600
In SuperCollider v1 I had this case and I don't know if it can be applied to
AudioUnits, but I passed a pointer to a globally known constant buffer of
zeroes. Dumb units can just process this as a normal buffer of zeroes.
Others can be smart and check if the pointer is the buffer-of-zeroes pointer
and if so, ignore it.
This trick relies on a number of things: buffers are a constant size, units
only read inputs and do not mix into them in place (so that it remains a
buffer of zeroes).
(strange, I did not receive the original post and had to go to the archives
to read it.. maybe I just got happy with the 'D' key in Pine without
looking..)
--- james mccartney email@hidden <
http://www.audiosynth.com>
SuperCollider - a real time synthesis programming language for the PowerMac.
<
ftp://www.audiosynth.com/pub/updates/SC2.2.13.sea.hqx>
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.