Class

AudioResource

An audio resource that can be played by an entity.

Declaration

class AudioResource

Overview

The AudioResource class stores audio that you can play from any entity in your scene. Typically, you use an instance of the AudioFileResource subclass, however, which adds the ability to load the audio data from a file (for example, from an .aiff file stored in your app’s bundle) or from a URL.

Topics

Specifying an Input Mode

var inputMode: AudioResource.InputMode

The input mode used by an audio resource.

enum AudioResource.InputMode

Modes for processing audio resources.

Relationships

Conforms To

See Also

Audio Playback

class AudioPlaybackController

A controller that manages audio playback of a resource.

Beta
class AudioFileResource

An audio resource that you load from a file or from a URL.

Beta
enum AudioEvents

Events associated with audio playback.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software