Contents

withUnsafeAudioStreamPacketDescriptions(_:)

Calls a closure with an audio stream packet description.

Declaration

func withUnsafeAudioStreamPacketDescriptions<R>(_ body: (UnsafeBufferPointer<AudioStreamPacketDescription>) throws -> R) throws -> R

Parameters

  • body:

    A closure the system calls with a pointer to an audio stream packet description.

See Also

Modifying Sample Buffers