cddandroidOpenSLEngine.h with updated method declaration

This commit is contained in:
folecr 2013-07-24 16:59:36 -07:00
parent c308d37a4b
commit c4fe5de7a4
1 changed files with 4 additions and 1 deletions

View File

@ -20,7 +20,10 @@ namespace CocosDenshion {
void setBackgroundMusicVolume(float volume); void setBackgroundMusicVolume(float volume);
float getEffectsVolume(); float getEffectsVolume();
void setEffectsVolume(float volume); void setEffectsVolume(float volume);
unsigned int playEffect(const char* pszFilePath, bool bLoop); unsigned int playEffect(const char* pszFilePath,
bool bLoop = false,
float pitch = 1.0f, float pan = 0.0f,
float gain = 1.0f);
void pauseEffect(unsigned int nSoundId); void pauseEffect(unsigned int nSoundId);
void pauseAllEffects(); void pauseAllEffects();
void resumeEffect(unsigned int nSoundId); void resumeEffect(unsigned int nSoundId);