diff --git a/CocosDenshion/android/Android.mk b/CocosDenshion/android/Android.mk index 58354d7587..2d59a7e79b 100644 --- a/CocosDenshion/android/Android.mk +++ b/CocosDenshion/android/Android.mk @@ -8,8 +8,6 @@ LOCAL_MODULE_FILENAME := libcocosdenshion LOCAL_SRC_FILES := cddSimpleAudioEngine.cpp \ ccdandroidUtils.cpp \ jni/cddandroidAndroidJavaEngine.cpp \ - opensl/OpenSLEngine.cpp \ - opensl/SimpleAudioEngineOpenSL.cpp \ opensl/cddandroidOpenSLEngine.cpp LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../include diff --git a/CocosDenshion/android/opensl/cddandroidOpenSLEngine.cpp b/CocosDenshion/android/opensl/cddandroidOpenSLEngine.cpp index d87e7e93b3..c94dec3b00 100644 --- a/CocosDenshion/android/opensl/cddandroidOpenSLEngine.cpp +++ b/CocosDenshion/android/opensl/cddandroidOpenSLEngine.cpp @@ -4,5 +4,28 @@ namespace CocosDenshion { namespace android { OpenSLEngine::~OpenSLEngine() { } + + void OpenSLEngine::preloadBackgroundMusic(const char* pszFilePath) { } + void OpenSLEngine::playBackgroundMusic(const char* pszFilePath, bool bLoop) { } + void OpenSLEngine::stopBackgroundMusic(bool bReleaseData) { } + void OpenSLEngine::pauseBackgroundMusic() { } + void OpenSLEngine::resumeBackgroundMusic() { } + void OpenSLEngine::rewindBackgroundMusic() { } + bool OpenSLEngine::willPlayBackgroundMusic() { } + bool OpenSLEngine::isBackgroundMusicPlaying() { } + float OpenSLEngine::getBackgroundMusicVolume() { } + void OpenSLEngine::setBackgroundMusicVolume(float volume) { } + float OpenSLEngine::getEffectsVolume() { } + void OpenSLEngine::setEffectsVolume(float volume) { } + unsigned int OpenSLEngine::playEffect(const char* pszFilePath, bool bLoop) { } + void OpenSLEngine::pauseEffect(unsigned int nSoundId) { } + void OpenSLEngine::pauseAllEffects() { } + void OpenSLEngine::resumeEffect(unsigned int nSoundId) { } + void OpenSLEngine::resumeAllEffects() { } + void OpenSLEngine::stopEffect(unsigned int nSoundId) { } + void OpenSLEngine::stopAllEffects() { } + void OpenSLEngine::preloadEffect(const char* pszFilePath) { } + void OpenSLEngine::unloadEffect(const char* pszFilePath) { } + } }