Updates lite audio engine sources from upstream (cocos2d-x).

This commit is contained in:
James Chen
2016-10-28 11:30:29 +08:00
parent 7744dd9770
commit 725aa66556
18 changed files with 148 additions and 129 deletions
@@ -1,6 +1,6 @@
/****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2013-2015 Chukong Technologies Inc.
Copyright (c) 2013-2016 Chukong Technologies Inc.
http://www.cocos2d-x.org
@@ -48,7 +48,7 @@ AndroidJavaEngine::AndroidJavaEngine()
: _implementBaseOnAudioEngine(false)
, _effectVolume(1.f)
{
int sdkVer = getSystemProperty("ro.build.version.sdk");
int sdkVer = getSDKVersion();
if (sdkVer > 0)
{
__android_log_print(ANDROID_LOG_DEBUG, "cocos2d", "android SDK version:%d", sdkVer);