Open sbooth opened 3 months ago
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.
AudioObject
AudioSystemObject
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.
propertyListeners
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 forAudioSystemObject
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
topropertyListeners
are not thread-safe.