An important note on AUPreset data
An important note on AUPreset data
- Subject: An important note on AUPreset data
- From: Bill Stewart <email@hidden>
- Date: Mon, 19 May 2003 18:20:03 -0700
Recently experimenting with some new audio units that have just been
released in new beta versions...
The AUPreset data these units are generating is incorrect.
The following dictionary entires are required:
The version of the preset data
The component ID fields:
type
subtype
manufacturer
Everything else is optional, thought typically we'd expect to see a
data entry if the AU is using the services provided by AUBase to
save/restore parameter values...
The presets we looked at were missing all of the above keys (though
they did have data and name though)
AUHosting will look for these fields (type, sub, manu) in order to
figure out what audio unit to open in order to set the preset on an
open unit - I expect that Rax (where we tested this) also needs that
information -
In fact I can't imagine any host can use presets without knowing this
information.
As a general rule, the data should also be versioned - if only for your
own sanity... The version we're expecting to find is defined in AUBase.
AUHosting is a good way to verify that the audio unit is behaving to
some degree of conformance...
Thanks
Bill
--
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.