Re: AudioUnit: Open Times are too long
Re: AudioUnit: Open Times are too long
- Subject: Re: AudioUnit: Open Times are too long
- From: "Michael Olsen" <email@hidden>
- Date: Fri, 25 Apr 2003 09:39:29 +0100
- Organization: IK Multimedia
>
> I think this will be a huge problem for SampleTank2. As far as I
>
> understand, the host can query parameter info and get/set them before
>
> initializing?
>
> Well, SampleTank2 has 80.000+ parameters! It actually takes quite some
>
> time to setup our structures for this.
>
>
The parameter information is generally less of a concern for these
>
kinds of open and query mechanisms - generally the information the host
>
wants to obtain from an AU are related around format issues (num
>
channels I/O, sample rates, etc...)
"Generally"? Does this mean that we should or should not be able to deliver parameter info before initialize()?
>
> Furthermore we need to scan the instrument folder for instruments and
>
> open the header files (the count can typically be in the thousands) to
>
> get instrument ID values. This is neccasary so we can react properly
>
> on parameter changes (i.e. instrument load).
>
>
>
> Any suggestions to what we can do?
>
>
As long as this is not done at Open time you should be OK.
So, the host is not allowed to set parameters before Initialize()?
>
We typically
>
have a lazy approach to initialization of values within structs, so
>
that you only pay the cost of activities when you need too.
I'm afraid you lost me there.
>
Does that make sense?
Well, yes, except that I naturally need the guarantee that this is not called before Initialize(). It needs to be in the specs, so that we don't get problems with other hosts.
Rgds,
Michael Olsen
email@hidden
>
>
bill
>
>
>
>
> Rgds,
>
>
>
> Michael Olsen
>
> CTO
>
> email@hidden
>
>
>
>
>
--
>
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.