I am using FMOD Studio and FMOD Studio Integration 1.06.10, with Unity 5.2.

I am finding on iOS that there is some lag. It’s not terrible, but I would like to experiment with changing the buffer size to see if it can be improved.

I’ve read the documentation here:

And read through many answers on this site, but I cannot figure out how and where to actually implement this. I am a self taught/not great coder, and this has defeated me. Nothing seems to work.

A simple code snippet would be a huge gift.


  • You must to post comments
Best Answer

A safer option that may reduce latency is to move FMOD_StudioSystem to after the “Default Time” in the Script Execution Order settings.

But editing FMOD_StudioSystem.cs and inserting this after line 280

    ERRCHECK(sys.setDSPBufferSize(256, 4));

will change DSP buffer size.

  • Anthony Litton
    Thank you!
  • Laurent

    Hello Nicholas,

    Thanks for your answer but could you please tell me how to do that in FMOD Studio Unity Integration 1.07.06 ? FMOD_StudioSystem.cs doesn’t seem to be used anymore.



  • Nicholas Wilcox

    Assets/Plugins/FMOD/RuntimeManager.cs on line 201 add

    lowlevelSystem.setDSPBufferSize(256, 4);

  • Laurent

    Great, thanks!

  • Alireza

    How can I change buffersize in FMOD Studio Unity Integration 1.09.06 ? I try to set it by RuntimeManager.LowLevelSystem.setBufferSize but nothing change. it is on default values like before I mean 1024 and 4. I want to change it to 512 and 2.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.