• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AudioUnitGetProperty with Swift 3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AudioUnitGetProperty with Swift 3


  • Subject: Re: AudioUnitGetProperty with Swift 3
  • From: Doug Wyatt <email@hidden>
  • Date: Mon, 31 Oct 2016 11:47:35 -0700

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@hidden> 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@hidden>:
>>
>> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to 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


References: 
 >AudioUnitGetProperty with Swift 3 (From: Benjamin Federer <email@hidden>)
 >Re: AudioUnitGetProperty with Swift 3 (From: Matt Grippaldi <email@hidden>)
 >Re: AudioUnitGetProperty with Swift 3 (From: Benjamin Federer <email@hidden>)
 >Re: AudioUnitGetProperty with Swift 3 (From: "Vieira Damiani, Luis F" <email@hidden>)
 >Re: AudioUnitGetProperty with Swift 3 (From: Matt Grippaldi <email@hidden>)
 >Re: AudioUnitGetProperty with Swift 3 (From: Benjamin Federer <email@hidden>)
 >Re: AudioUnitGetProperty with Swift 3 (From: Benjamin Federer <email@hidden>)

  • Prev by Date: Audio Unit V3 with a generic view.
  • Previous by thread: Re: AudioUnitGetProperty with Swift 3
  • Next by thread: Random Delays occurring with OSX after Mountain Lion
  • Index(es):
    • Date
    • Thread