AudioBufferListWrapper

public struct AudioBufferListWrapper
extension AudioBufferListWrapper: CustomDebugStringConvertible

A thin wrapper around a variable-length AudioBufferList structure

  • Returns the buffer list’s mNumberBuffers

    Declaration

    Swift

    public var numberBuffers: UInt32 { get }
  • Returns the buffer list’s mBuffers

    Declaration

    Swift

    public var buffers: UnsafeBufferPointer<AudioBuffer> { get }
  • Performs block with a pointer to the underlying AudioBufferList structure

    Declaration

    Swift

    public func withUnsafePointer<T>(_ block: (UnsafePointer<AudioBufferList>) throws -> T) rethrows -> T
  • Declaration

    Swift

    public var debugDescription: String { get }