• 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: AUView opening before initialzation BIG HASSLE!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AUView opening before initialzation BIG HASSLE!


  • Subject: Re: AUView opening before initialzation BIG HASSLE!
  • From: "Angus F. Hewlett" <email@hidden>
  • Date: Mon, 08 Sep 2003 11:41:27 +0100

Can you not just call Initialize() (or better, an internal initialize
method) from your plug when you run in to a problem? That's what I do in
VST-AU:- if it is possible for it to complete a call without
Initialize()ing, it does so, but if it has to intialize those things, it
does that instead. Equally, in the view class, I don't instantiate anything
big until I need to create and display the view.

The downside of this approach is that it makes host load times a bit
unpredictable... depending on what the host asks for when scanning plugins,
it may take a couple of ms per AU or a few hundred ms (many VST plugins are
slow to load). I could improve performance some more by caching more
information than I currently do (the output configuration is cached; the
audio I/O properties are cached; the parameter table is not).

Regards,
Angus.

At 03:27 PM 9/7/2003 +0200, Urs Heckmann wrote:
>Hi,
>
>I have a Music Devcie that publishes its parameters and stuff after
>Initialization. This is legal, as far as I know. Before init, I return
>an UnInitialized error on these requests.
>
>A certain host sometimes opens the view before initializing the music
>device. And that leads to a crash, because important stuff isn't set
>up. (Even if I circumvent these crashes, the gui would just not happen.
>Void.)
>
>How can I tell the host not to open the gui before initialization? -
>Wouldn't publishing parameters and stuff AFTER init first implicitly
>forbid opening the view?
>
>Cheers,
>
>;) Urs
>_______________________________________________
>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.
>
>
=======================================================
Angus F. Hewlett, Technical Director
FXpansion Audio UK Ltd - http://www.fxpansion.com
=======================================================
_______________________________________________
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: AUView opening before initialzation BIG HASSLE!
      • From: Marc Poirier <email@hidden>
    • Re: AUView opening before initialzation BIG HASSLE!
      • From: Urs Heckmann <email@hidden>
References: 
 >AUView opening before initialzation BIG HASSLE! (From: Urs Heckmann <email@hidden>)

  • Prev by Date: AUView opening before initialzation BIG HASSLE!
  • Next by Date: Re: AUView opening before initialzation BIG HASSLE!
  • Previous by thread: AUView opening before initialzation BIG HASSLE!
  • Next by thread: Re: AUView opening before initialzation BIG HASSLE!
  • Index(es):
    • Date
    • Thread