• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AUNodeInteraction fields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >AUNodeInteraction fields (From: Chris Adamson <email@hidden>)

  • Prev by Date: Re: Setting buffer size / latency of DefaultOutputUnit ?
  • Next by Date: Re: ExtAudioFileRead
  • Previous by thread: AUNodeInteraction fields
  • Next by thread: Re: AU Plugs on iPad
  • Index(es):
    • Date
    • Thread