|
GlistEngine
|
#include <gBaseSound.h>


Public Types | |
| enum | LoopType : int { LOOPTYPE_DEFAULT = 0 , LOOPTYPE_NONE = 1 , LOOPTYPE_NORMAL = 2 } |
Public Member Functions | |
| virtual int | load (const std::string &fullPath)=0 |
| virtual int | loadSound (const std::string &soundPath)=0 |
| virtual void | play ()=0 |
| virtual bool | isLoaded ()=0 |
| virtual bool | isPlaying ()=0 |
| virtual void | setPaused (bool isPaused)=0 |
| virtual bool | isPaused ()=0 |
| virtual void | stop ()=0 |
| virtual void | close ()=0 |
| virtual int | getDuration ()=0 |
| virtual void | setPosition (int position)=0 |
| virtual int | getPosition ()=0 |
| virtual void | setLoopType (LoopType loopType)=0 |
| virtual LoopType | getLoopType ()=0 |
| virtual void | setVolume (float volume)=0 |
| virtual float | getVolume ()=0 |
| virtual const std::string & | getPath ()=0 |
Public Member Functions inherited from gObject | |
| gObject () | |
| void | logi (std::string message) |
| void | logd (std::string message) |
| void | logw (std::string message) |
| void | loge (std::string message) |
| void | logi (std::string tag, std::string message) |
| void | logd (std::string tag, std::string message) |
| void | logw (std::string tag, std::string message) |
| void | loge (std::string tag, std::string message) |
Additional Inherited Members | |
Static Public Member Functions inherited from gObject | |
| static std::string | gGetAppDir () |
| static std::string | gGetAssetsDir () |
| static void | gSetAssetsDir (std::string assetsDir) |
| static std::string | gGetFilesDir () |
| static std::string | gGetImagesDir () |
| static std::string | gGetFontsDir () |
| static std::string | gGetModelsDir () |
| static std::string | gGetTexturesDir () |
| static std::string | gGetShadersDir () |
| static std::string | gGetSoundsDir () |
| static std::string | gGetDatabasesDir () |
| static std::string | gGetVideosDir () |
| static void | setCurrentResolution (int scalingNo, int currentResolutionNo) |
Static Public Attributes inherited from gObject | |
| static const int | LOGLEVEL_SILENT |
| static const int | LOGLEVEL_DEBUG |
| static const int | LOGLEVEL_INFO |
| static const int | LOGLEVEL_WARNING |
| static const int | LOGLEVEL_ERROR |
Static Protected Attributes inherited from gObject | |
| static int | renderpassnum |
| static int | renderpassno |
| static int | releasescaling |
| static int | releaseresolution |
| enum gBaseSound::LoopType : int |
|
pure virtual |
Implemented in gSound.
|
pure virtual |
Implemented in gSound.
|
pure virtual |
Implemented in gSound.
|
pure virtual |
Implemented in gSound.
|
pure virtual |
Implemented in gSound.
|
pure virtual |
Implemented in gSound.
|
pure virtual |
Implemented in gSound.
|
pure virtual |
Implemented in gSound.
|
pure virtual |
Implemented in gSound.
|
pure virtual |
Implemented in gSound.
|
pure virtual |
Implemented in gSound.
|
pure virtual |
Implemented in gSound.
|
pure virtual |
Implemented in gSound.
|
pure virtual |
Implemented in gSound.
|
pure virtual |
Implemented in gSound.