From c4fe5de7a4e96456550d8b32a513f9fc6ff096dc Mon Sep 17 00:00:00 2001 From: folecr Date: Wed, 24 Jul 2013 16:59:36 -0700 Subject: [PATCH] cddandroidOpenSLEngine.h with updated method declaration --- CocosDenshion/android/opensl/cddandroidOpenSLEngine.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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);