Play sound on iOS make a little freeze (#4115)(SOLVED)

I noticed a little freeze on iOS devices (on my iPhone5 and iPad Air 1) on sound.play call

Seems, what sound is sync loading before playing. If I will fast call sound.play, freeze will be only at first playing. Or I can make delays between playing, and freeze will be everytime I call it

There is little repro-case. You can watch on animated box to see the lag. Touch on screen to play the sound.

What it can be?

Builded on defold 155 (152+ this freeze exist). On Android is all ok

ios-sound-test.zip (77.1 KB)

2 Likes

It’s not happening on 1.2.151 and less?

Possible it happening, don’t know. Not tested on prev. versions
Just know, what this bug exist a long of time

Thanks. Created new issue (#4115).

2 Likes

Did some tests:
This bug appears in 146 build
in 145 is all ok with sound playing

1 Like

Great! Thanks! The issue is in our current sprint!

2 Likes

Solved in 1.2.159

5 Likes