• 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: Custom Audio Units on the iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Custom Audio Units on the iPhone


  • Subject: Re: Custom Audio Units on the iPhone
  • From: "Pierre Zeeman" <email@hidden>
  • Date: Tue, 25 Nov 2008 22:31:44 +0000

Bill,

On Tue, Nov 25, 2008 at 9:05 PM, William Stewart <email@hidden> wrote:

However, one thing to note here is that on their own these things are not thread-safe - so if you are making connections or callbacks to an audio unit while it is also rendering, then you can have problems. You are better to use AUGraph as it manages that for you.

Callbacks and Connections in an AUGraph are called graph interactions (so you use that API rather than AudioUnitSetProperty)

Ok, so for thread safety we should use AUGraphSetNodeInputCallback (
   AUGraph inGraph,
   AUNode inDestNode,
   UInt32 inDestInputNumber,
   const AURenderCallbackStruct *inInputCallback
);
where inDestNode is pointing at the mixer and inDestInputNumber is the particular bus on the mixer.  Ok, that makes sense.  Thanks very much.

rgds

Pierre

 _______________________________________________
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: 
 >Custom Audio Units on the iPhone (From: Thomas Zoechling <email@hidden>)
 >Re: Custom Audio Units on the iPhone (From: William Stewart <email@hidden>)
 >Re: Custom Audio Units on the iPhone (From: William Stewart <email@hidden>)

  • Prev by Date: Re: Custom Audio Units on the iPhone
  • Next by Date: Re: Custom Audio Units on the iPhone
  • Previous by thread: Re: Custom Audio Units on the iPhone
  • Next by thread: Re: Custom Audio Units on the iPhone
  • Index(es):
    • Date
    • Thread