FMOD has no sound on the HarmonyOS system

Before my engine on Android can be used very well fmod,Recently I am ready to access the mobile phone HarmonyOS system,According to the official documents to make a special call to the HarmonyOS platform,Create fmod sound and play,There has been no sound。 The query status is always playing, and parameters such as volume are all right。
And open my app, play a sound, the app that is playing music in the background is not interrupted, it looks like nothing happened, is it that I didn’t use it correctly?
I’m very anxious, please can anyone help me, thank you very much

Hi,

A solution was posted here for a similar issue: Sound Cannot be Heard - #3 by luoxixuan.

If that does not solve it could I please grab:

  • Your FMOD engine version
  • A code snippet of the FMOD engine initialization and how you trigger the sound

Thanks

1 Like

I can now produce sound normally by following the instructions in this post.
But my version is 2.02.22

I conducted some tests on the previous program and found that there were still some abnormal areas. The frequency of the sound was much faster than normal, and occasionally there were abnormal situations when switching to the background. But at least the sound played out, I’m still very happy. Thank you very much to the FMOD team for their help :cowboy_hat_face:

1 Like

Good to hear it is working now.

This issue may have been solved in 2.02.23: FMOD Engine | Detailed Revision History.

Would it be possible to elaborate on this issue?

I use FMOD to play sound according to the same playback logic, but this is how it performs on the HarmonyOS platform. I don’t know what happened, there are only some differences from an auditory perspective.

HI, since Connor is away, I will be continuing the investigation.

Unfortunately, I was not able to reproduce the issue. Does the sound only play faster than expected on Harmony OS platform? Does this issue occur with all events or just specific ones? Would it be possible to elaborate on how to reproduce the issue?

You could consider using FMOD Engine | 7. Core API Reference | | Channel::setFrequency to directly reduce the frequency, setting it to half of a typical 44100Hz rate (22050 Hz) to see if it slows down the playback speed.

Alternatively, you could enable fast mode on the HarmonyOs platform to see if it helps.

I will link the detailed process here:

Hope this helps! let me know if the issue persists.

1 Like