withUnsafeMutablePointer(_:)
Calls a closure with a mutable pointer to the backing AudioChannelLayout.
Declaration
mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutablePointer<AudioChannelLayout>) throws -> Result) rethrows -> ResultParameters
- body:
A closure that is called with a mutable pointer to the backing
AudioChannelLayout.
Discussion
It is invalid to increase mNumberChannelDescriptions.