mirror of https://github.com/axmolengine/axmol.git
Remove OpenSL code. Add empty implementation for OpenSL Audio Engine.
This commit is contained in:
parent
3a7c5628c5
commit
210cf68cab
|
@ -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
|
||||
|
|
|
@ -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) { }
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue