Audio Latency iOS 9.0 about 300ms

Hi,

a picture is worth a thousand words. A video is worth a million words.

I am new to Unity and want to make a music app.
Initial tests are showing some issues. The Audio Latency is about 300ms on iOS 9.0.
It is horrible for a music app.
Is there any way to fix that?

I’m using AudioClip and AudioSource to play the sounds.
On update() I check input.getTouch(0).phase Began and play a random sound.

What is your DSPBuffersize in your audiomanager?

Also are your sounds compressed in memory? Stream from disk? Decompress on load?

AudioSettings.GetDSPBufferSize() returns:
BufferLength: 1024
numBuffer: 4
All sounds “Load Type” is set to “Decompress On Load”.

Go to Edit → Project Settings → Audio

Set DSP Buffer Size to Best Latency

That should help, not sure if it will be enough.

2 Likes

Thanks. It’s not yet 100% perfect but solves my problem.
Since iOS 9 the audio is glitching a bit. Especially on short fast played audio files. But that’s another issue.

I’m having the same problem. The sounds are fine on the computer, but there’s too much latency on an iPad. Will be watching this thread. Thanks!

Hi guys , does anyone have a good solution to sync audio latency , or at least know what it is in a 10ms accuracy?