• 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: Can't get AudioUnit from AUGraphNodeInfo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't get AudioUnit from AUGraphNodeInfo


  • Subject: Re: Can't get AudioUnit from AUGraphNodeInfo
  • From: Chris Adamson <email@hidden>
  • Date: Wed, 1 Apr 2009 23:06:53 -0400

On Apr 1, 2009, at 10:38 PM, William Stewart wrote:

if you open the graph first you will get the audio unit. with the graph not open, there's no audio unit to get..

NodeInfo probably should return an error here...

If you so CAShow(auGraph) you should also see that the node is there, but hasnt' been opened yet (so there's no audio unit)


Thank you.  Got the RemoteIO unit from the node and was able to set its input and output formats to kAudioFormatFlagsCanonical (I guess I was defaulting into 8.24, the audio unit canonical?).

In case anyone Googles their way here, what I needed to start my graph was

NewAUGraph
AUGraphOpen
AUGraphAddNode
AUGraphNodeInfo - to get the unit from the node
set properties on the unit
AUGraphSetNodeInputCallback - on the node
AUGraphInitialize
AUGraphStart

Thanks again!

--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

References: 
 >Can't get AudioUnit from AUGraphNodeInfo (From: Chris Adamson <email@hidden>)
 >Re: Can't get AudioUnit from AUGraphNodeInfo (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Internal multi-channels
  • Next by Date: Re: AudioFile CGI problems
  • Previous by thread: Re: Can't get AudioUnit from AUGraphNodeInfo
  • Next by thread: more AudioFile Questions
  • Index(es):
    • Date
    • Thread