Structure

AVAudioConverterPrimeInfo

Priming information for audio conversion.

Declaration

struct AVAudioConverterPrimeInfo

Topics

Initializing Priming Information

init()

Initializes a priming information structure.

init(leadingFrames: AVAudioFrameCount, trailingFrames: AVAudioFrameCount)

Initializes a priming information structure with leading and trailing frames.

Getting Frame Properties

var leadingFrames: AVAudioFrameCount

The number of leading (previous) input frames required by the converter to perform a high-quality conversion.

var trailingFrames: AVAudioFrameCount

The number of trailing input frames past the end input frame; required by the converter to perform a high-quality conversion.

See Also

Getting Priming Information

var primeInfo: AVAudioConverterPrimeInfo

The number of priming frames.

var primeMethod: AVAudioConverterPrimeMethod

The priming method to be used by the sample rate converter or decoder.