Instance Property


The position in the file at which the next read or write operation will occur.


var framePosition: AVAudioFramePosition { get set }


Set the framePosition property to perform a seek before a read or write. A read or write operation advances the frame position value by the number of frames read or written.

See Also

Getting Audio File Properties

var fileFormat: AVAudioFormat

The on-disk format of the file.

var processingFormat: AVAudioFormat

The processing format of the file.

typealias AVAudioFramePosition

A position in an audio file or stream.

var length: AVAudioFramePosition

The number of sample frames in the file.

typealias AVAudioFrameCount

A number of audio sample frames.

var url: URL

The URL the file is reading or writing.

let AVAudioFileTypeKey: String

A string indicating the audio file type.