void SimpleAudioEngine::preloadEffect(const char* pszFilePath) { if (s_bI9100) { SimpleAudioEngineOpenSL::sharedEngine()->preloadEffect(pszFilePath); } else { preloadEffectJNI(pszFilePath); } }
void SimpleAudioEngine::preloadEffect(const char* pszFilePath) { std::string fullPath = getFullPathWithoutAssetsPrefix(pszFilePath); if (s_bI9100) { SimpleAudioEngineOpenSL::sharedEngine()->preloadEffect(fullPath.c_str()); } else { preloadEffectJNI(fullPath.c_str()); } }
void SimpleAudioEngine::preloadEffect(const char* pszFilePath) { preloadEffectJNI(pszFilePath); }