Contents

init(fileNamed:)

Initializes an audio node from an audio asset with the specified filename.

Declaration

convenience init(fileNamed name: String)

Parameters

Return Value

A newly initialized audio node.

Discussion

The named file containing the audio asset must reside within the main bundle.

See Also

Initializing Audio Nodes