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 protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to