• 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
AUAudioUnit subclasses: Obj-C vs Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

AUAudioUnit subclasses: Obj-C vs Swift


  • Subject: AUAudioUnit subclasses: Obj-C vs Swift
  • From: Chris Adamson <email@hidden>
  • Date: Thu, 23 Feb 2017 18:59:47 -0500

Would like a fact check on something for a talk next week…

When I create a v3 Audio Unit app extension, even if I specify the language as Swift, the template stubs out the AUAudioUnit subclass itself in Objective-C, allowing Swift only for the view controller.

Wondering about the reasons for this… could I rewrite my AUAudioUnit subclass as Swift, provided that the internalRenderBlock is in C/C++ with all the usual realtime caveats? Or is it this way because on macOS, the audio unit can optionally be loaded into the host process, and that’s not gonna fly with Swift until its ABI is stabilized?

Thanks!

—Chris


 _______________________________________________
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


  • Prev by Date: AVAudioEngine - Multichannel output does not play on channel 1 and 2
  • Next by Date: Property Listener crash
  • Previous by thread: AVAudioEngine - Multichannel output does not play on channel 1 and 2
  • Next by thread: Property Listener crash
  • Index(es):
    • Date
    • Thread