Play Sound Example

FMOD Studio API

Firelight Technologies FMOD Studio API

Play Sound Example

This example shows how to simply load and play multiple sounds, the simplest usage of FMOD. By default FMOD will decode the entire file into memory when it loads. If the sounds are big and possibly take up a lot of RAM it would be better to use the FMOD_CREATESTREAM flag, this will stream the file in realtime as it plays.

Location

The example is located at api/lowlevel/examples/play_sound.cpp.