FMExAudio Class

This class is a simple container for audio data. FMExAudio instances are passed to FMExAudioPlayer or FMExAudioPlayer3D objects which play and manipulate the sound.

Important: Use the FolderItem.OpenAsFMExAudio class extension or the FMEx.CreateAudio method to create a new FMExAudio instance. This class cannot be constructed using the New keyword.

Important: You must successfully initialize FMOD Ex via the FMEx.StartUp method before creating FMExAudio objects. Also note that all existing FMExAudio instances become invalidated after calling FMEx.ShutDown. Please see the Restarting FMOD Ex section for details on how to properly restart FMOD Ex should the need arise.

Note: The FMExAudio class is ideal for short audio samples which may playback multiple times simultaneously (game sound effects for example). The FMExStream class is better suited for long-format compressed audio such music or narration.

Properties

Expand All | Collapse All

Methods

Expand All | Collapse All