Re: Connecting AU's without an AUGraph
Re: Connecting AU's without an AUGraph
- Subject: Re: Connecting AU's without an AUGraph
- From: Kurt Revis <email@hidden>
- Date: Thu, 19 Sep 2002 10:19:00 -0700
On Thursday, September 19, 2002, at 10:03 AM, Luke Bellandi wrote:
enum {
/* these are obsolete, were never implemented:*/
/* kAudioUnitRenderAction_Accumulate = (1 << 0), */
/* kAudioUnitRenderAction_UseProvidedBuffer = (1 << 1),*/
kAudioUnitRenderAction_PreRender = (1 << 2),
kAudioUnitRenderAction_PostRender = (1 << 3),
kAudioUnitRenderAction_OutputIsSilence = (1 << 4) /* provides
hint
on return from Render(): if set the buffer contains all zeroes*/
};
typedef UInt32 AudioUnitRenderActionFlags;
You're right, Kurt, in that there were 2 flags that were never
implemented,
although the 3 that are can prove very useful (I suppose the comment
in the
header file looks like it refers to all flags, but it's just the top
two
that have been commented out that it's referring to.)
I was worrying only about this specific case, with the mixer AU, which
is only a version 1 component. Will the mixer ever pass in any of the
other flags to its input callbacks? It doesn't seem that any of them
would ever be appropriate.
The fact that the type of callback is the same for input procs and
rendering procs can lead to some confusion. The comments in the header
files seem to focus on the rendering case, and deal with a lot of
issues that (I don't think) apply to input procs. I think it's more
likely that newbies will try to do an input proc first, and the
documentation will only baffle them. (I know it baffled me for a
while...)
--
Kurt Revis
email@hidden
_______________________________________________
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.