[AU] state/kAudioUnitProperty_ClassInfo saving/restoring scope
[AU] state/kAudioUnitProperty_ClassInfo saving/restoring scope
- Subject: [AU] state/kAudioUnitProperty_ClassInfo saving/restoring scope
- From: Domagoj Saric <email@hidden>
- Date: Mon, 25 Mar 2013 16:49:11 +0100
In AudioUnitProperties.h, for the kAudioUnitProperty_ClassInfo property, it states:
"The complete state of an audio unit if on global scope."
...implying that it can be 'called' for scopes other than global yet the
kAudioUnitProperty_ClassInfo handler in AUBase.cpp contains
ca_require(inScope == kAudioUnitScope_Global, InvalidScope);
...rejecting anything other than kAudioUnitScope_Global?
ps. AddNumToDictionary() in AUBase.cpp does not check if CFNumberCreate (which
presumably has to allocate memory) fails...
--
Domagoj Saric
Software Architect
www.LittleEndian.com
_______________________________________________
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