Пример #1
0
void SimpleAudioEngine::playBackgroundMusic(const char* pszFilePath, bool bLoop)
{
    LOGD("Play background music,file is %s", pszFilePath);
    playBackgroundMusicJNI(pszFilePath, bLoop);
}
Пример #2
0
	void SimpleAudioEngine::playBackgroundMusic(const char* pszFilePath, bool bLoop)
	{
        playBackgroundMusicJNI(pszFilePath, bLoop);
	}
Пример #3
0
void SimpleAudioEngine::playBackgroundMusic(const char* pszFilePath, bool bLoop)
{
	std::string fullPath = getFullPathWithoutAssetsPrefix(pszFilePath);
    playBackgroundMusicJNI(fullPath.c_str(), bLoop);
}