Property interface for V3 Audio Units
Property interface for V3 Audio Units
- Subject: Property interface for V3 Audio Units
- From: patrick machielse <email@hidden>
- Date: Mon, 18 Apr 2016 00:22:38 +0200
Hi,
I'm creating a new V3 AudioUnit for our iOS application.
Most of the AU seems to be working at this point.
I've been studying the WWDC 2015 presentation and my AU test project is based on the V3 example code.
When I disable the call 'AUAudioUnit.registerSubclass' in the AU host app to simulate a real world scenario of our AU running in a potentially 3rd party app I'm running into a problem:
The returned classes for the the local AUAudioUnit and AUViewController become 'AUAudioUnit_XH' and 'AUAudioUnitRemoteViewController'. I can communicate with these classes like I can with my custom concrete subclasses: interacting with the parameterTree to get our custom parameters, and calling 'requestViewControllerWithCompletionHandler' to get our custom view work as expected.
However: trying to use 'valueForKey()' to get AudioUnit's _properties_ does not work, and instead triggers '[<AUAudioUnit_XH valueForUndefinedKey:]'. It seems as if kvo messages are somehow not forwarded to the component runnign as an xpc service?
Am I doing it wrong, it possible to get custom property values in some fashion? I can't seem to find any other API that would enable this.
patrick
--
Patrick Machielse
Hieper Software
http://www.hieper.nl
email@hidden
_______________________________________________
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