How does FMOD play PCM data

My requirement is to make Internet calls

I have used FMOD_Sound_Lock () to get PCM data, but I can’t find a function to play PCM data directly. I add THE PCM data to the WAV data header, and then send it to the other end to play. It works, but it doesn’t work well. Is there a way to play PCM data directly? And there is no delay.

To play PCM data you can also use FMOD_Sound_Lock() and just overwrite the PCM data in the buffer. Alternatively, you could implement a FMOD_SOUND_PCMREAD_CALLBACK. An example of how to implement this can be found in the user_created_sound example.