AUNodeInteraction fields
AUNodeInteraction fields
- Subject: AUNodeInteraction fields
- From: Chris Adamson <email@hidden>
- Date: Fri, 6 Aug 2010 17:06:50 -0400
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. 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