Re: Identifying AUs from host?
Re: Identifying AUs from host?
- Subject: Re: Identifying AUs from host?
- From: George Taylor <email@hidden>
- Date: Mon, 22 Aug 2011 12:17:19 -0400
On Aug 16, 2011, at 8:49 PM, Stefan Gretscher wrote:
Am 11.08.2011 um 17:06 schrieb George Taylor:
I'm having trouble finding information on the correct way a host
should identify and recall an AU from a saved project. If an AU
undergoes a major revision from "v1" to "v2" and I still want v2
to load seamlessly when opening all projects saved with v1, what's
the standard way hosts should identify an AU when loading a
project? Is it with data from the AudioComponentDescription? Or
with CAComponent::GetAUName()? Or is there one?
I assume that by "major revision" you're talking about a transition
where the identifiers for the AU (type, subtype, manufacturer) are
changed?
In that case, have a look at kAudioUnitMigrateProperty_FromPlugin -
this allows v2 to tell the host that it understands settings
written by a v1.
Kind regards,
Stefan
Thanks Stefan. This actually came up in a case where the AU
identifiers were the same between v1 and v2, but one host we found
was looking at CAComponent::GetAUName() instead. I couldn't find
anywhere in the Apple docs that stated how these two pieces of
information are to be used by the host. But we've resolved the issue
by reverting the v2 AU name back to what it was in v1, and the host
developer agreed to try to use the AU identifiers in the future.
Thanks again,
George
_______________________________________________
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