cddandroidAndroidJavaEngine.cpp with updated method declaration

This commit is contained in:
folecr 2013-07-24 16:58:51 -07:00
parent b8db689e3a
commit b01e27abc0
1 changed files with 2 additions and 1 deletions

View File

@ -178,7 +178,8 @@ namespace CocosDenshion {
methodInfo.env->DeleteLocalRef(methodInfo.classID);
}
unsigned int AndroidJavaEngine::playEffect(const char* pszFilePath, bool bLoop) {
unsigned int AndroidJavaEngine::playEffect(const char* pszFilePath, bool bLoop,
float pitch, float pan, float gain) {
cocos2d::JniMethodInfo methodInfo;
int ret = 0;
std::string fullPath = CocosDenshion::android::getFullPathWithoutAssetsPrefix(pszFilePath);