Contents

AnalyzerInput

Time-coded audio data.

Declaration

struct AnalyzerInput

Overview

The audio data must have an AVAudioFormat that is supported by the analyzer’s modules; the analyzer does not perform audio conversion. Call bestAvailableAudioFormat(compatibleWith:considering:) (or its variants) to select an appropriate format to convert to.

The audio format may differ from one AnalyzerInput object to the next. The modules will be reconfigured if necessary (and possible) as needed.

Topics

Creating an input element

Inspecting an input element

See Also

Input and output