Slide 20
Slide 20 text
struct AudioSytemObject {
let id: AudioObjectID = ...
let lock = NIOLock()
func get(addr: T) throws -> [T.DataType] {
try lock.withLock {
let memory = ...
let statusData = AudioObjectGetPropertyData(id,
&propAddr,
0,
nil,
&propSize,
memory)
return (0..