# High latency with low level api on iOS

**URL:** <https://qa.fmod.com/t/high-latency-with-low-level-api-on-ios/11434>\
**Category:** FMOD Studio\
**Created:** [May 1, 2014, 9:12am UTC](https://qa.fmod.com/t/high-latency-with-low-level-api-on-ios/11434 "2014-05-01T09:12:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fantasysnd](https://avatars.discourse-cdn.com/v4/letter/f/9d8465/32.png) [@fantasysnd](https://qa.fmod.com/u/fantasysnd)\
**Post date:** [May 1, 2014, 9:12am UTC](https://qa.fmod.com/t/high-latency-with-low-level-api-on-ios/11434/1 "2014-05-01T09:12:33Z")

</div>

I’m using fmod studio to play sound on iOS Platform. I want to play the sound when i click the screen, but the sound didn’t play immediately, got a 170ms latency. The feeling is bad…

I’m using fmod low level api to play the sound with OGG files. but the latency exists even i playback the wav files…  
How to reduce the latency.

---

<div class="post-metadata">

**Author:** ![Guest1](https://avatars.discourse-cdn.com/v4/letter/g/ecccb3/32.png) [@Guest1](https://qa.fmod.com/u/Guest1)\
**Post date:** [May 2, 2014, 1:42am UTC](https://qa.fmod.com/t/high-latency-with-low-level-api-on-ios/11434/2 "2014-05-02T01:42:35Z")

</div>

You can use System::setDSPBufferSize to reduce the size of the mixer buffer, and System::setSoftwareFormat to increase the sample rate.
