kAudioUnitProperty_ContextName
kAudioUnitProperty_ContextName
- Subject: kAudioUnitProperty_ContextName
- From: Marc Poirier <email@hidden>
- Date: Tue, 6 Jul 2004 14:49:26 -0400 (EDT)
The kAudioUnitProperty_ContextName seems like a nice idea and useful,
though unfortunately also seems to be a neglected corner of the AU API.
There's no support for handling it in AUBase, the docs are very scant, and
I tried 15 or so hosts to see if they supported it and (not surprisingly)
none did. I do have a few specific questions about it, though:
1) Should the text (the property's value) include the AU's name plus
extra context info, or only the extra context info? In other words, let's
say for example I had the plugin "Robocop FX" inserted on track 3. Would
a possible ContextName be "Robocop FX: track 3" or just "track 3"?
2) ContextName is not covered in CF_AU_Properties.text nor are its
CoreFoundation semantics covered in the regular docs for the AU API,
either:
/Developer/Documentation/CoreAudio/AudioUnits/Topics/au_properties.html#kAudioUnitProperty_ContextName
I am guessing that it is the norm (AU retains value on GetProperty, and
Retains or creates for the client on SetProperty), but it seems to me like
this should be explicitly stated somewhere.
3) If the property's value has not yet been Set but someone tries to Get
it, is the valid behavior for the AU to supply a null CFStringRef and
return noErr, or to return an error? And if an error, which one?
thanks,
Marc
_______________________________________________
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.