The issue was resolved after changing the initialization way
FROM
FmodSfx::FmodSfx(FMOD_SYSTEM* pSystem, FileStream* pFileStream, FMOD_SOUND_FORMAT format, bool bIsStream)
{
m_pSound = NULL;
FMOD_RESULT result;
#ifdef TARGET_ANDROID
char pPath[1000] = {0};
sprintf(pPath, "file:///android_asset/%s", "sound1");
result = FMOD_System_CreateSound(pSystem, pPath, FMOD_LOOP_NORMAL | FMOD_CREATESTREAM, 0, &m_pSound);
#else
result = FMOD_System_CreateSound(pSystem, pFileStream->GetFilePath(), FMOD_CREATESTREAM | FMOD_LOOP_NORMAL, 0, &m_pSound);
#endif
}
TO
FmodSfx::FmodSfx(FMOD::System* pSystem, FileStream* pFileStream, FMOD_SOUND_FORMAT format, bool bIsStream)
{
m_pSound = NULL;
FMOD_RESULT result;
#ifdef TARGET_ANDROID
char pPath[1000] = {0};
sprintf(pPath, "file:///android_asset/%s", "sound1");
result = pSystem->createSound(pPath, FMOD_DEFAULT | FMOD_LOOP_NORMAL, 0, &m_pSound);
#else
result = pSystem->createSound(pFileStream->GetFilePath(), FMOD_DEFAULT | FMOD_LOOP_NORMAL, 0, &m_pSound);
#endif
}
thank you for your support