• 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
AUNodeInteraction fields
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: AUNodeInteraction fields
      • From: William Stewart <email@hidden>
  • Prev by Date: MPMusicPlayerController stops playing
  • Next by Date: Re: AU Plugs on iPad
  • Previous by thread: MPMusicPlayerController stops playing
  • Next by thread: Re: AUNodeInteraction fields
  • Index(es):
    • Date
    • Thread