|
Aether3D
Game Engine
|
18 virtual void AddSound(
const char* soundName,
const char* soundFile ) = 0;
25 virtual void Play(
const char* soundName ) = 0;
32 virtual bool IsMuted()
const = 0;
53 virtual void SetGain(
float gain ) = 0;
60 virtual void SetMute(
bool mute ) = 0;
virtual ~Audio()
Destructor.
Definition: Audio.hpp:9
virtual void AddSound(const char *soundName, const char *soundFile)=0
Adds a sound. It can be played back using Play().
virtual bool IsMuted() const =0
Mute status. Default: unmuted.
virtual void SetGain(float gain)=0
Sets gain.
virtual void Play(const char *soundName)=0
Plays a sound. It must have been added before using addSound().
virtual void SetMute(bool mute)=0
Sets muting on/off. Defaults to unmuted.
Handles audio.
Definition: Audio.hpp:5
virtual void SetDopplerFactor(float factor)=0
Sets Doppler factor.
virtual void SetDopplerVelocity(float velocity)=0
Sets Doppler velocity.