|
virtual void | close ()=0 |
local | close () |
virtual void | preloadBackgroundMusic (const char *pszFilePath)=0 |
| Preload background music. More...
|
|
virtual void | playBackgroundMusic (const char *pszFilePath, bool bLoop=false)=0 |
| Play background music. More...
|
|
virtual void | stopBackgroundMusic (bool bReleaseData=false)=0 |
| Stop playing background music. More...
|
|
local | stopBackgroundMusic ( local false) |
| Stop playing background music. More...
|
|
virtual void | pauseBackgroundMusic ()=0 |
| Pause playing background music. More...
|
|
virtual void | resumeBackgroundMusic ()=0 |
| Resume playing background music. More...
|
|
var | resumeBackgroundMusic () |
| Resume playing background music. More...
|
|
local | resumeBackgroundMusic () |
| Resume playing background music. More...
|
|
virtual void | rewindBackgroundMusic ()=0 |
| Rewind playing background music. More...
|
|
var | rewindBackgroundMusic () |
| Rewind playing background music. More...
|
|
local | rewindBackgroundMusic () |
| Rewind playing background music. More...
|
|
virtual bool | willPlayBackgroundMusic ()=0 |
virtual bool | isBackgroundMusicPlaying ()=0 |
| Whether the background music is playing. More...
|
|
local | isBackgroundMusicPlaying () |
| Whether the background music is playing. More...
|
|
virtual float | getBackgroundMusicVolume ()=0 |
| The volume of the background music max value is 1.0,the min value is 0.0. More...
|
|
virtual void | setBackgroundMusicVolume (float volume)=0 |
| set the volume of background music More...
|
|
local | setBackgroundMusicVolume ( local volume) |
| set the volume of background music More...
|
|
virtual float | getEffectsVolume ()=0 |
| The volume of the effects max value is 1.0,the min value is 0.0. More...
|
|
virtual void | setEffectsVolume (float volume)=0 |
| set the volume of sound effecs More...
|
|
virtual unsigned int | playEffect (const char *pszFilePath, bool bLoop, float pitch, float pan, float gain)=0 |
| Play sound effect. More...
|
|
virtual void | stopEffect (unsigned int nSoundId)=0 |
| Stop playing sound effect. More...
|
|
virtual void | preloadEffect (const char *pszFilePath)=0 |
| preload a compressed audio file More...
|
|
var | preloadEffect ( var pszFilePath) |
| preload a compressed audio file More...
|
|
local | preloadEffect ( local pszFilePath) |
| preload a compressed audio file More...
|
|
virtual void | unloadEffect (const char *pszFilePath)=0 |
| unload the preloaded effect from internal buffer More...
|
|
var | unloadEffect ( var pszFilePath) |
| unload the preloaded effect from internal buffer More...
|
|
local | unloadEffect ( local pszFilePath) |
| unload the preloaded effect from internal buffer More...
|
|
virtual void | pauseEffect (unsigned int uSoundId)=0 |
| pause an effect identified by sound id More...
|
|
var | pauseEffect ( var uSoundId) |
| pause an effect identified by sound id More...
|
|
local | pauseEffect ( local uSoundId) |
| pause an effect identified by sound id More...
|
|
virtual void | pauseAllEffects ()=0 |
| pause all playing effects More...
|
|
virtual void | resumeEffect (unsigned int uSoundId)=0 |
| resume an effect identified by sound id More...
|
|
local | resumeEffect ( local uSoundId) |
| resume an effect identified by sound id More...
|
|
virtual void | resumeAllEffects ()=0 |
| resume a effect identified by sound id More...
|
|
var | resumeAllEffects () |
| resume a effect identified by sound id More...
|
|
local | resumeAllEffects () |
| resume a effect identified by sound id More...
|
|
virtual void | stopAllEffects ()=0 |
| stop all playing effects More...
|
|