コード例 #1
0
ファイル: SimpleAudioEngine.cpp プロジェクト: uvbs/HHHH
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);
	}