Android 5 - sound loop stutter -
i have ticking sound in app works fine on devices i've tested on (nexus 7, sgs4, sgs6) on nexus 5 , nexus 4 there random stuttering if loop delayed fraction of second.
some users reported on moto x too.
the stuttering irregular, it's every loop, goes through 5-6 loops before stutters.
the stuttering present when app doing nothing, causing delay in ui of app. seconds on timer irregular (in time stutters) when ticking on, timer fine when ticking off.
i've tried using both mp3 , ogg sound files, same problem.
this problem didn't happen kitkat.
logcat reports nothing concurrent stutter reports:
i/audioflinger(188): buffer timeout: remove(4096) active list on thread 0xb5a9c008
and
w/audiotrack(188): releasebuffer() track 0xb7130628 disabled due previous underrun, restarting
but doesn't happen every time there stutter, maybe 1 in ten times.
how play sound:
mp = mediaplayer.create(this, r.raw.ticking_sound_mp3); mp.setlooping(true); mp.start();
Comments
Post a Comment