30 #ifndef RIOENGINE_CENGINE_CSOUNDPLAYER_H_
31 #define RIOENGINE_CENGINE_CSOUNDPLAYER_H_
38 #define CSOUNDPLAYER CSingleton<CSoundPlayer>::getSharedInstance()
46 virtual int play2D(
const char* filename,
bool play_looped =
false,
bool start_paused =
false,
bool track =
false);
51 std::string getPathForFilename(
const char* filename);
54 std::map<int, irrklang::ISound*> m_soundsMap;
57 #endif // RIOENGINE_CENGINE_CSOUNDPLAYER_H_
Main header file of the irrKlang sound library, the only file needed to include.
virtual int play2D(const char *filename, bool play_looped=false, bool start_paused=false, bool track=false)
irrklang::ISound * getISound(int id)
Represents a sound which is currently played.
Interface to the sound engine, for playing 3d and 2d sound and music.