Audio artifacts when playing audio generated via code

Thank you for the project, it greatly helped in testing!

Some things I tested:

  • Artifacts
  • Latency
    • Reducing the size of the buffer created in the exinfo
      exInfo.length = SampleRate * PCMMultiplier;, I tested halving this value.

Another option maybe using a FMOD_SOUND_PCMREAD_CALLBACK (FMOD Engine | Core API Reference - FMOD_SOUND_PCMREAD_CALLBACK) which would further decouple the recording from the frame rates and more closely attach it to the FMOD system.

Thank you for the explanation.

Let me know if that makes a difference!