• 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: AUGraph calling AUBase::DoInitialize in the render thread?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUGraph calling AUBase::DoInitialize in the render thread?


  • Subject: Re: AUGraph calling AUBase::DoInitialize in the render thread?
  • From: William Stewart <email@hidden>
  • Date: Wed, 21 Jan 2004 11:40:27 -0800

The graph once it has an AU that is connected to another AU has to ensure that the AU can render (ie. that it is initialized).

This is explicitly called by the program with AUGraphUpdate.

My previous email about the Matrix Mixer describes how to avoid this initialization executing on the render thread.

Bill

On 18/01/2004, at 2:30 AM, Philippe Wicker wrote:

Hi all,

While debuging an AU of mine within an application using the AUGraph API, I noticed that AUBase::DoInitialize is called within the render thread context. The stack trace shows calls to an AudioUnitGraph C++ class which is I believe the implementation of the AUGraph.

The stack trace shows that the first called method is AudioUnitGraph::GraphRenderCallback_NEW and later AudioUnitGraph::ConnectAudioUnit and later again AudioUnitInitialize.

I assume that this sequence is true for all the AU belonging to the graph, so it may take quite a long time. Is it Ok to do this in the render thread? What is the rationale behind this?

Thanks,

Philippe Wicker
email@hidden
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.


-- mailto:email@hidden
tel: +1 408 974 4056

________________________________________________________________________ __
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________ __
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: AUGraph calling AUBase::DoInitialize in the render thread?
      • From: James Coker <email@hidden>
References: 
 >AUGraph calling AUBase::DoInitialize in the render thread? (From: Philippe Wicker <email@hidden>)

  • Prev by Date: Re: Audio Unit capabilites?
  • Next by Date: Re: Matrix Mixer and AUGraph tidbit
  • Previous by thread: AUGraph calling AUBase::DoInitialize in the render thread?
  • Next by thread: Re: AUGraph calling AUBase::DoInitialize in the render thread?
  • Index(es):
    • Date
    • Thread