Contents

withUnsafeMutablePointer(_:)

Calls a closure with a mutable pointer to the backing AudioChannelLayout.

Declaration

mutating func withUnsafeMutablePointer<Result>(_ body: (UnsafeMutablePointer<AudioChannelLayout>) throws -> Result) rethrows -> Result

Parameters

  • body:

    A closure that is called with a mutable pointer to the backing AudioChannelLayout.

Discussion

It is invalid to increase mNumberChannelDescriptions.