SoundEffects Class Reference

ime::audio::SoundEffect loads the audio file to be played in memory. More...

#include <SoundEffect.h>

Detailed Description

ime::audio::SoundEffect loads the audio file to be played in memory.

Therefore, it is advised to use it with short audio files that can be quickly loaded form the disk and into the program. Examples include, gun shots, explosions UI sound effects etc. If long audio files are used with this class you might experience audio latency and other related issues. It is advised to use ime::audio::Music for long sounds such as background music

This class is not meant to be instantiated directly, use ime::Scene::getAudio or ime::Engine::getAudioManager


The documentation for this class was generated from the following file: