sbooth/CAAudioHardware

Not compatible with Swift 6 strict concurrency

Opened this issue · 1 comments

The thread-safety of the various AudioObject APIs isn't clear. Lacking documentation to the contrary I assume they aren't thread-safe, which means that the current design for AudioSystemObject needs to be revisited.

https://www.mail-archive.com/coreaudio-api@lists.apple.com/msg01860.html
https://developer.apple.com/forums/thread/758022

Additionally, the accesses in AudioObject to propertyListeners are not thread-safe.

#60 has been merged and fixes the propertyListeners access issue.