Пример #1
0
void SimpleAudioEngine::preloadEffect(const char* pszFilePath)
{
    if (s_bI9100)
    {
        SimpleAudioEngineOpenSL::sharedEngine()->preloadEffect(pszFilePath);
    }
    else
    {
        preloadEffectJNI(pszFilePath);
    }
}
Пример #2
0
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());
	}
}
Пример #3
0
	void SimpleAudioEngine::preloadEffect(const char* pszFilePath)
	{
		preloadEffectJNI(pszFilePath);
	}