diff --git a/CocosDenshion/android/opensl/cddandroidOpenSLEngine.h b/CocosDenshion/android/opensl/cddandroidOpenSLEngine.h index 4d0f052891..9355cf59a0 100644 --- a/CocosDenshion/android/opensl/cddandroidOpenSLEngine.h +++ b/CocosDenshion/android/opensl/cddandroidOpenSLEngine.h @@ -20,7 +20,10 @@ namespace CocosDenshion { void setBackgroundMusicVolume(float volume); float getEffectsVolume(); 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 pauseAllEffects(); void resumeEffect(unsigned int nSoundId);