init(asset:track:analyzerFormat:priority:)
Creates an input sequence provider.
Declaration
init(asset: AVAsset, track: AVAssetTrack, analyzerFormat: AVAudioFormat, priority: TaskPriority? = nil)Parameters
- asset:
The asset to read from.
- track:
The track to read audio samples from.
- analyzerFormat:
The audio format to convert the audio samples to. The audio format should be one supported by the speech analyzer’s modules.
- priority:
The desired priority of the asset-reading task.