• 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
Can there be symbol collisions with Swift code in AUs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can there be symbol collisions with Swift code in AUs?


  • Subject: Can there be symbol collisions with Swift code in AUs?
  • From: Scott L <email@hidden>
  • Date: Thu, 09 Feb 2017 03:22:05 +0000 (UTC)

I guess this isn't really a CoreAudio question, but I'm having trouble finding a definitive answer (and I can't get  the list archives to load)

I'm making some AudioUnits and wanted to include some Swift code (for some non-audio functionality).   When multiple AUs are being loaded into a single process at runtime, can there be symbol collisions when the AUs contains classes (or structs, etc.) with the same name?

I know this is an issue with Objective-C (I've seen https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/LoadingCode/Tasks/NameConflicts.html#//apple_ref/doc/uid/20001277-CJBFGCGG) however I haven't been able to find an equivalent document for Swift.

I'm hoping the Swift runtime would not have the same issue (and will try testing empirically soon), but would like to learn a bit more about dynamic loading/linking with Swift regardless.

Thanks!

Scott


 _______________________________________________
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: Re: Filter response curve
  • Next by Date: AVAudioEngine - Multichannel output does not play on channel 1 and 2
  • Previous by thread: Re: Filter response curve
  • Next by thread: AVAudioEngine - Multichannel output does not play on channel 1 and 2
  • Index(es):
    • Date
    • Thread