#include <AudioPlayer.h>
Public Member Functions | |
| virtual void | close ()=0 |
| var | close () |
| local | close () |
| virtual void | preloadBackgroundMusic (const char *pszFilePath)=0 |
| Preload background music. More... | |
| local | preloadBackgroundMusic ( local pszFilePath) |
| Preload background music. More... | |
| virtual void | playBackgroundMusic (const char *pszFilePath, bool bLoop=false)=0 |
| Play background music. More... | |
| local | playBackgroundMusic ( local pszFilePath, local false) |
| 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... | |
| var | pauseBackgroundMusic () |
| Pause playing background music. More... | |
| local | pauseBackgroundMusic () |
| 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 |
| var | willPlayBackgroundMusic () |
| local | willPlayBackgroundMusic () |
| virtual bool | isBackgroundMusicPlaying ()=0 |
| Whether the background music is playing. More... | |
| var | isBackgroundMusicPlaying () |
| 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... | |
| var | getBackgroundMusicVolume () |
| The volume of the background music max value is 1.0,the min value is 0.0. More... | |
| local | getBackgroundMusicVolume () |
| 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... | |
| var | setEffectsVolume ( var volume) |
| set the volume of sound effecs More... | |
| local | setEffectsVolume ( local volume) |
| 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... | |
| local | playEffect ( local pszFilePath, local bLoop, local pitch, local pan, local gain) |
| Play sound effect. More... | |
| virtual void | stopEffect (unsigned int nSoundId)=0 |
| Stop playing sound effect. More... | |
| var | stopEffect ( var nSoundId) |
| Stop playing sound effect. More... | |
| local | stopEffect ( local nSoundId) |
| Stop playing sound effect. More... | |
| virtual void | preloadEffect (const char *pszFilePath)=0 |
| preload a compressed audio file More... | |
| virtual void | unloadEffect (const char *pszFilePath)=0 |
| unload the preloaded effect from internal buffer More... | |
| virtual void | pauseEffect (unsigned int uSoundId)=0 |
| 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... | |
| var | pauseAllEffects () |
| pause all playing effects More... | |
| local | pauseAllEffects () |
| pause all playing effects More... | |
| virtual void | resumeEffect (unsigned int uSoundId)=0 |
| 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... | |
| var | stopAllEffects () |
| stop all playing effects More... | |
| local | stopAllEffects () |
| stop all playing effects More... | |
|
pure virtual |
Implemented in FmodAudioPlayer.
|
pure virtual |
Implemented in FmodAudioPlayer.
|
pure virtual |
Implemented in FmodAudioPlayer.
|
pure virtual |
The volume of the background music max value is 1.0,the min value is 0.0.
Implemented in FmodAudioPlayer.
|
pure virtual |
The volume of the background music max value is 1.0,the min value is 0.0.
Implemented in FmodAudioPlayer.
|
pure virtual |
The volume of the background music max value is 1.0,the min value is 0.0.
Implemented in FmodAudioPlayer.
|
pure virtual |
The volume of the effects max value is 1.0,the min value is 0.0.
Implemented in FmodAudioPlayer.
|
pure virtual |
The volume of the effects max value is 1.0,the min value is 0.0.
Implemented in FmodAudioPlayer.
|
pure virtual |
The volume of the effects max value is 1.0,the min value is 0.0.
Implemented in FmodAudioPlayer.
|
pure virtual |
Whether the background music is playing.
Implemented in FmodAudioPlayer.
|
pure virtual |
Whether the background music is playing.
Implemented in FmodAudioPlayer.
|
pure virtual |
Whether the background music is playing.
Implemented in FmodAudioPlayer.
|
pure virtual |
pause all playing effects
Implemented in FmodAudioPlayer.
|
pure virtual |
pause all playing effects
Implemented in FmodAudioPlayer.
|
pure virtual |
pause all playing effects
Implemented in FmodAudioPlayer.
|
pure virtual |
Pause playing background music.
Implemented in FmodAudioPlayer.
|
pure virtual |
Pause playing background music.
Implemented in FmodAudioPlayer.
|
pure virtual |
Pause playing background music.
Implemented in FmodAudioPlayer.
|
pure virtual |
pause an effect identified by sound id
| [in] | uSoundId | sound id |
Implemented in FmodAudioPlayer.
|
pure virtual |
pause an effect identified by sound id
| [in] | uSoundId | sound id |
Implemented in FmodAudioPlayer.
|
pure virtual |
pause an effect identified by sound id
| [in] | uSoundId | sound id |
Implemented in FmodAudioPlayer.
|
pure virtual |
Play background music.
| pszFilePath | The path of the background music file,or the FileName of T_SoundResInfo |
| bLoop | Whether the background music loop or not |
Implemented in FmodAudioPlayer.
|
pure virtual |
Play background music.
| pszFilePath | The path of the background music file,or the FileName of T_SoundResInfo |
| bLoop | Whether the background music loop or not |
Implemented in FmodAudioPlayer.
|
pure virtual |
Play background music.
| pszFilePath | The path of the background music file,or the FileName of T_SoundResInfo |
| bLoop | Whether the background music loop or not |
Implemented in FmodAudioPlayer.
|
pure virtual |
Play sound effect.
| pszFilePath | The path of the effect file,or the FileName of T_SoundResInfo Whether to loop the effect playing, default value is false |
Implemented in FmodAudioPlayer.
|
pure virtual |
Play sound effect.
| pszFilePath | The path of the effect file,or the FileName of T_SoundResInfo Whether to loop the effect playing, default value is false |
Implemented in FmodAudioPlayer.
|
pure virtual |
Play sound effect.
| pszFilePath | The path of the effect file,or the FileName of T_SoundResInfo Whether to loop the effect playing, default value is false |
Implemented in FmodAudioPlayer.
|
pure virtual |
Preload background music.
| pszFilePath | The path of the background music file,or the FileName of T_SoundResInfo |
Implemented in FmodAudioPlayer.
|
pure virtual |
Preload background music.
| pszFilePath | The path of the background music file,or the FileName of T_SoundResInfo |
Implemented in FmodAudioPlayer.
|
pure virtual |
Preload background music.
| pszFilePath | The path of the background music file,or the FileName of T_SoundResInfo |
Implemented in FmodAudioPlayer.
|
pure virtual |
preload a compressed audio file
the compressed audio will be decode to wave, then write into an internal buffer in SimpleaudioEngine
Implemented in FmodAudioPlayer.
|
pure virtual |
preload a compressed audio file
the compressed audio will be decode to wave, then write into an internal buffer in SimpleaudioEngine
Implemented in FmodAudioPlayer.
|
pure virtual |
preload a compressed audio file
the compressed audio will be decode to wave, then write into an internal buffer in SimpleaudioEngine
Implemented in FmodAudioPlayer.
|
pure virtual |
resume a effect identified by sound id
Implemented in FmodAudioPlayer.
|
pure virtual |
resume a effect identified by sound id
Implemented in FmodAudioPlayer.
|
pure virtual |
resume a effect identified by sound id
Implemented in FmodAudioPlayer.
|
pure virtual |
Resume playing background music.
Implemented in FmodAudioPlayer.
|
pure virtual |
Resume playing background music.
Implemented in FmodAudioPlayer.
|
pure virtual |
Resume playing background music.
Implemented in FmodAudioPlayer.
|
pure virtual |
resume an effect identified by sound id
| [in] | uSoundId | sound id |
Implemented in FmodAudioPlayer.
|
pure virtual |
resume an effect identified by sound id
| [in] | uSoundId | sound id |
Implemented in FmodAudioPlayer.
|
pure virtual |
resume an effect identified by sound id
| [in] | uSoundId | sound id |
Implemented in FmodAudioPlayer.
|
pure virtual |
Rewind playing background music.
Implemented in FmodAudioPlayer.
|
pure virtual |
Rewind playing background music.
Implemented in FmodAudioPlayer.
|
pure virtual |
Rewind playing background music.
Implemented in FmodAudioPlayer.
|
pure virtual |
set the volume of background music
| volume | must be in 0.0~1.0 |
Implemented in FmodAudioPlayer.
|
pure virtual |
set the volume of background music
| volume | must be in 0.0~1.0 |
Implemented in FmodAudioPlayer.
|
pure virtual |
set the volume of background music
| volume | must be in 0.0~1.0 |
Implemented in FmodAudioPlayer.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
stop all playing effects
Implemented in FmodAudioPlayer.
|
pure virtual |
stop all playing effects
Implemented in FmodAudioPlayer.
|
pure virtual |
stop all playing effects
Implemented in FmodAudioPlayer.
|
pure virtual |
Stop playing background music.
| bReleaseData | If release the background music data or not.As default value is false |
Implemented in FmodAudioPlayer.
|
pure virtual |
Stop playing background music.
| bReleaseData | If release the background music data or not.As default value is false |
Implemented in FmodAudioPlayer.
|
pure virtual |
Stop playing background music.
| bReleaseData | If release the background music data or not.As default value is false |
Implemented in FmodAudioPlayer.
|
pure virtual |
Stop playing sound effect.
| nSoundId | The return value of function playEffect |
Implemented in FmodAudioPlayer.
|
pure virtual |
Stop playing sound effect.
| nSoundId | The return value of function playEffect |
Implemented in FmodAudioPlayer.
|
pure virtual |
Stop playing sound effect.
| nSoundId | The return value of function playEffect |
Implemented in FmodAudioPlayer.
|
pure virtual |
unload the preloaded effect from internal buffer
| [in] | pszFilePath | The path of the effect file,or the FileName of T_SoundResInfo |
Implemented in FmodAudioPlayer.
|
pure virtual |
unload the preloaded effect from internal buffer
| [in] | pszFilePath | The path of the effect file,or the FileName of T_SoundResInfo |
Implemented in FmodAudioPlayer.
|
pure virtual |
unload the preloaded effect from internal buffer
| [in] | pszFilePath | The path of the effect file,or the FileName of T_SoundResInfo |
Implemented in FmodAudioPlayer.
|
pure virtual |
Implemented in FmodAudioPlayer.
|
pure virtual |
Implemented in FmodAudioPlayer.
|
pure virtual |
Implemented in FmodAudioPlayer.