From b8db689e3a1ba421447bc498f1ab7bf155c27543 Mon Sep 17 00:00:00 2001 From: folecr Date: Wed, 24 Jul 2013 16:58:37 -0700 Subject: [PATCH] cddandroidAndroidJavaEngine.h with updated method declaration --- CocosDenshion/android/jni/cddandroidAndroidJavaEngine.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CocosDenshion/android/jni/cddandroidAndroidJavaEngine.h b/CocosDenshion/android/jni/cddandroidAndroidJavaEngine.h index 3142e0282f..451f9c148c 100644 --- a/CocosDenshion/android/jni/cddandroidAndroidJavaEngine.h +++ b/CocosDenshion/android/jni/cddandroidAndroidJavaEngine.h @@ -21,7 +21,8 @@ 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);