Initializer

init(url:)

Initializes an audio source from the specified audio file.

Declaration

init?(url: URL)

Parameters

url

A URL locating an audio file.

Return Value

A new audio source object.

See Also

Creating an Audio Source

init?(named: String)

Returns the audio source associated with the specified filename.

init?(fileNamed: String)

Initializes an audio source from an audio file in the application’s main bundle.