Welcome Guest [Log In] [Register]
Viewing Single Post From: Sound
Alan
Administrator
[ *  *  * ]
Sound: Is a object that can be passed to PlaySoundNow to play a sound or music file.
The Epee Engine supports all file formats supported by the SDL_Mixer library.

Inherits from: nothing

Function List:
see below and replies

public:
Sound(std::string _Name ,std::string _FileName,int _Channel=0,int _NumberOfTimesToLoop=0, int _Volume=MIX_MAX_VOLUME);
~Sound();
int GetVolume();
bool SetVolume(int _Volume);
bool LoadSound();
bool SetChannel(int _ChannelToSetTo);
int GetChannel();
bool SetNumberOfTimesToLoop(int _NumberOfTimesToLoop);
int GetNumberOfTimesToLoop();
std::string GetName();
Offline Profile Quote Post
Sound · Documentation