Contents

init(settings:)

Creates an audio format instance using the specified settings dictionary.

Declaration

init?(settings: [String : Any])

Parameters

  • settings:

    The settings dictionary.

Return Value

A new AVAudioFormat instance, or nil if the initialization fails.

Discussion

Note that many settings dictionary elements aren’t relevant for the format, so this method ignores them. For information about supported dictionary values, see Audio settings.

See Also

Creating a New Audio Format Representation