I have one question… Did anybody resolve latency problem using
AudioTrack ?

For example, i want to play sound immediately when i touch the screen.
When sound is loaded and i do it first time – everything is ok. When i
wait for some time and click again – everything is ok too. But when i
click very often – i hear some latency between sounds repeating.

I tried AudioTrack in STATIC_MODE,  but for each repeating i must use
methods

stop();
reloadStaticData();

and then again
play();

because play() didn't work without it. maybe this is the cause?

I tried MediaPlayer and SoundPool classes before it, with the same
result.

what can you advise me to do?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to