• 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: Audio Units - newbie questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Units - newbie questions


  • Subject: Re: Audio Units - newbie questions
  • From: Marc Poirier <email@hidden>
  • Date: Wed, 12 Oct 2005 10:57:42 -0400

On Oct 12, 2005, at 10:46 AM, Muon Software Ltd - Dave wrote:

Sure, it will pass, but probably be more inefficient, unfortunately
(though that depends, some AUs have nothing to do in Initialize).
But if that's the only feasible solution for your AU, then you've
gotta do what you've gotta do...


inefficient in what way? it might take a little longer to open, but certainly no more than the VST version takes.

In the way you just said: taking longer to open. :) And yes sure, no longer than the VST version. However, with AU's design, there is the *potential* for things to be more efficient than that. But if it's not feasible or is more work redesigning than you want to do, then so be it...



There is SetMaxFramesPerSlice().  This also will by default return an
error if Uninitialized, I think.


Is there a SetSampleRate as well?

Yes, I believe there is. It's been a while since I looked through these properties and the AUBase implementations and such, but I think that actually there is a specific SampleRate property distinct from the StreamFormat property (which includes sample rate as part of the format). I forget exactly how this breaks down, though.



Mmm, throwing out dialogs with no user interaction is really poor for
more reasons than that.  I hope that others don't think that "full
initialization" = "throw out dialogs"!


Try running the Kontakt 2 demo in Cubase SX for a bit. That "You have XXX
days" dialog that halts Cubase's entire startup procedure until you click OK
is an excellent example. Or Reaktor 3 bitching about not having its dongle
plugged in, or....the list goes on :-)

Oh yes, I know! It happens, and it's definitely bad design... :-/


Marc

_______________________________________________
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: 
 >RE: Audio Units - newbie questions (From: "Muon Software Ltd - Dave" <email@hidden>)

  • Prev by Date: RE: Audio Units - newbie questions
  • Next by Date: DynamicAU Example
  • Previous by thread: RE: Audio Units - newbie questions
  • Next by thread: (no subject)
  • Index(es):
    • Date
    • Thread