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

AUGraph calling AUBase::DoInitialize in the render thread?


  • Subject: AUGraph calling AUBase::DoInitialize in the render thread?
  • From: Philippe Wicker <email@hidden>
  • Date: Sun, 18 Jan 2004 11:30:06 +0100

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.

  • Follow-Ups:
    • Re: AUGraph calling AUBase::DoInitialize in the render thread?
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Problem with GetParameterValueStrings
  • Next by Date: Re: coreaudio-api digest, Vol 2 #1027 - 10 msgs
  • Previous by thread: Re: Problem with GetParameterValueStrings
  • Next by thread: Re: AUGraph calling AUBase::DoInitialize in the render thread?
  • Index(es):
    • Date
    • Thread