# DSP buffer size

**URL:** https://qa.fmod.com/t/dsp-buffer-size/11325
**Category:** Unity
**Created:** [March 12, 2014, 1:19am UTC](https://qa.fmod.com/t/dsp-buffer-size/11325 "2014-03-12T01:19:21Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![rikur](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@rikur](https://qa.fmod.com/u/rikur)
#### Post date: [March 12, 2014, 1:19am UTC](https://qa.fmod.com/t/dsp-buffer-size/11325/1 "2014-03-12T01:19:21Z")

</div>

Hi,

Would it be possible to get access to DPS buffer size to create less lagging sound on IOS? The lag at the default setting is pretty horrible.

Thanks,

- Riku

---

<div class="post-metadata">

### Author: ![rikur](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@rikur](https://qa.fmod.com/u/rikur)
#### Post date: [May 6, 2014, 4:43pm UTC](https://qa.fmod.com/t/dsp-buffer-size/11325/2 "2014-05-06T16:43:15Z")

</div>

> [@peter](#):
>
> Hi, sorry for the delay. We have the full low-level API coming in the next release of the integration which will expose the buffers size and sample rate for complete control over latency on all platforms.

That is great news!! 😃

---

<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 1, 2014, 11:23pm UTC](https://qa.fmod.com/t/dsp-buffer-size/11325/3 "2014-05-01T23:23:36Z")

</div>

Hi, sorry for the delay. We have the full low-level API coming in the next release of the integration which will expose the buffers size and sample rate for complete control over latency on all platforms.

---

<div class="post-metadata">

### Author: ![mightyphil](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@mightyphil](https://qa.fmod.com/u/mightyphil)
#### Post date: [April 3, 2014, 4:34am UTC](https://qa.fmod.com/t/dsp-buffer-size/11325/4 "2014-04-03T04:34:45Z")

</div>

Is there an ETA on the latency fix? We have a product going into soft launch soon and the latency on iOS is the last remaining audio bug we have

---

<div class="post-metadata">

### Author: ![rikur](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@rikur](https://qa.fmod.com/u/rikur)
#### Post date: [March 25, 2014, 8:10am UTC](https://qa.fmod.com/t/dsp-buffer-size/11325/5 "2014-03-25T08:10:05Z")

</div>

Peter?

Any comments on this. Do you think buffer size controls will be exposed in the future? I think with the current settings the lag is near 170ms on ios devices.

Or do you have any tips on how to currently work around this?

- Riku / Traplight Games

---

<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: [March 26, 2014, 12:58am UTC](https://qa.fmod.com/t/dsp-buffer-size/11325/6 "2014-03-26T00:58:15Z")

</div>

Hi rikur,

Sorry for the delay in replying. We provide an API for controlling the latency in FMOD, but unfortunately we cannot expose it in Unity on iOS. This is due Unity already containing FMOD for their inbuilt audio solution, and iOS requiring static linking, which causes a symbol conflict.

That said the default latency was configured for the original iPhone which was much less powerful than modern devices. I will investigate reducing the default latency on iOS, and also look into a way of exposing an API to give the user control over this.

---

<div class="post-metadata">

### Author: ![rikur](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@rikur](https://qa.fmod.com/u/rikur)
#### Post date: [March 26, 2014, 7:01pm UTC](https://qa.fmod.com/t/dsp-buffer-size/11325/7 "2014-03-26T19:01:14Z")

</div>

Thanks! Looking forward for the improvements. Otherwise the unity plugin has been excellent to use on ios so far.
