• 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
AUGraphInitialize in audio thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AUGraphInitialize in audio thread


  • Subject: AUGraphInitialize in audio thread
  • From: Marc Poirier <email@hidden>
  • Date: Tue, 8 Apr 2003 23:11:55 +0200 (CEST)

I was testing an AU of mine this weekend and encountered a problem with
host apps that utilize AUGraphs (SynthTest, Rax). It appears that they
Initialize AUs in the audio rendering thread. I am working on an AU that
displays a StandardAlert dialog when Initialized if it has not been
authorized yet ("Hello, you are running this in demo mode, blah blah
blah"). In these host apps, if rendering of the graph is taking place
while instantiating my plugin, the app hangs. The alert partially draws,
maybe, and there's a spinning beach ball, and after I while I just force
quit the app.

I contacted the authors of these hosts and they told me that the issue
must be with AUGraphInitialize. They said that they are calling
AUGraphInitialize from the GUI thread, so it must be what happens
internally with the AUGraph stuff. So, I'm bringing this up because I'd
like to know what's up with all this. Is my AU in fact just behaving
badly, or should the AUGraph be behaving better? I'm voting on the latter
because my understanding of Initialize is that you should be able to do
heavy operations and resource management there, and that a rendering graph
should not be waiting an an uninitialized AU to return from an
Initalization attempt. But maybe I'm wrong about this...

Thanks for your attention,
Marc
_______________________________________________
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.

  • Prev by Date: Re: AU logo
  • Next by Date: Re: some trivial questions (Using the GenericView in AU development)
  • Previous by thread: Re: some trivial questions (Using the GenericView in AU development)
  • Next by thread: Re: AUGraphInitialize in audio thread
  • Index(es):
    • Date
    • Thread