You should be able to use AudioUnitGetPropertyInfo instead of 
AudioUnitGetProperty with a null pointer when wanting to fetch a property's 
size.

We added __nullable to AudioUnitConnection.sourceAudioUnit recently.

One of the design goals of the AUAudioUnit API was to provide a replacement API 
that is less difficult to use from Swift than the C AudioUnit API's. Is there a 
reason you're preferring the C API's?

Doug


> On Oct 26, 2016, at 2:10 , Benjamin Federer <[email protected]> wrote:
> 
> I filed a radar with the Apple Bug Reporter.
> 
> rdar://28956261
> 
> Anyone else having similar issues should file a radar, too, to bring this to 
> Apple’s attention.
> 
> 
>> Am 21.10.2016 um 18:26 schrieb Lucas Goossen <[email protected]>:
>> 
>> This is what broke it:
>> SE-0055 
>> https://github.com/apple/swift-evolution/blob/master/proposals/0055-optional-unsafe-pointers.md
>> 
>> Another Core Audio API broken by this is AudioUnitConnection. We used to be 
>> able to pass nill to sourceAudioUnit to disconnect.  
>> 
>> AudioUnitConnection.sourceAudioUnit needs to become optional.
> 
> _______________________________________________
> 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/dwyatt%40apple.com
> 
> This email sent to [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