init(targetFormat:)
Creates an audio conversion transformer to convert the format of the buffers.
Declaration
init(targetFormat: AVAudioFormat)Parameters
- targetFormat:
The desired audio format for the output buffers.
Discussion
Precondition The
targetFormatmust have an AVAudioPCMFormat as its common format type.