Re: AUNodeInteraction fields
Re: AUNodeInteraction fields
- Subject: Re: AUNodeInteraction fields
- From: William Stewart <email@hidden>
- Date: Fri, 6 Aug 2010 18:14:47 -0700
On Aug 6, 2010, at 2:06 PM, Chris Adamson wrote:
> Given that AUNodeInteraction gets a whopping 7 hits on Google, this is gonna be fun…
>
> I'm trying to find nodes at the "front" of an AUGraph, ie, those that have no incoming connections or render callbacks. I'm iterating over nodes by index and then doing AUGraphGetNodeInteractions(). It populates an array of AUNodeInteraction structs, which look like this (in AUGraph.h):
>
> struct AUNodeInteraction
> {
> UInt32 nodeInteractionType;
>
> union
> {
> AUNodeConnection connection;
> AUNodeRenderCallback inputCallback;
>
> } nodeInteraction;
> };
> typedef struct AUNodeInteraction AUNodeInteraction;
>
> I don't see where values for nodeInteractionType are defined anywhere.
kAUNodeInteraction_Connection = 1,
kAUNodeInteraction_InputCallback = 2
There are some extensive comments about this in AUGraph.h
Bill
> Is it zero-based, i.e., do I assume that if it's 0 then nodeInteraction has a connection, and if it's 1 then nodeInteraction has an inputCallback?
>
> Thanks in advance.
>
> --Chris
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden