Contents

ExtAudioFileTell(_:_:)

Gets an audio file’s read/write position.

Declaration

func ExtAudioFileTell(_ inExtAudioFile: ExtAudioFileRef, _ outFrameOffset: UnsafeMutablePointer<Int64>) -> OSStatus

Parameters

  • inExtAudioFile:

    The extended audio file object that represents the file you are working with.

  • outFrameOffset:

    On output, the file’s current read/write position in sample frames. Read/write position is specified in the sample rate and frame count of the file’s audio data format—not your application’s audio data format.

Return Value

A result code.

See Also

Reading and Writing Audio Data