I have two problems that I would like to understand.
I use soundPool for my sound effects and it works without problems. However, when I try to play the cetain file (25 seconds, about 400K), it does not play the whole file for only 3-4 seconds.
Why and how can I fix it?
and second question: should I play every effect from the stream? are many topics good?
this is the current code:
static void play(final int soundID ){ if(loaded){ handler.post(new Runnable() { public void run() { soundpool.play(soundID, 1, 1, 1, 0, 1); } });
source share