Can the new iOS 9 Audio Unit Extensions be hosted using the AU v2 API? Or is the v3 API mandatory?
We have v2 AU host code already. Starting from scratch with v3 would be much more work.
There are bridges between both versions to make life as easy as possible for hosts. v3 hosts can use v2 AUs while v2 hosts are required to make some minor API changes to be able to host v3 audio units.
This information is discussed at about the 20min point in the WWDC Session < https://developer.apple.com/videos/wwdc/2015/?id=508 >.
The summary comes down to the v2 host checking for a new flag kAudioComponentFlag_RequiresAsyncInstantiation and then using the new AudioComponentInstantiate insted of AudioComponentInstanceNew. There is also a new property from retrieving the v3 units view dependent on the flag kAudioComponentFlag_IsV3AudioUnit.
The above "Audio Unit Extensions" presentation also has an accompanying v3 extension and host example for download.