I've been trying to resolve the issue of the immediate termination of the AudioTrack played in the MODE_STREAM track with no avail. To do so I call stop and release;
audioTrack.stop(); audioTrack.release(); audioTrack = null; I tried flushing but it made no difference. It finishes playing the remaining of the buffer and than stops. It seems like the problem renders the AudioTrack useless if one can't stop playing at will. I can't imagine using it if I have to wait till it finishes playing its buffer. And since this is the only sound solution I can use for my application, the JetPlayer and the SoundPool, do not fit my needs, I am left with the decision if I should continue. It’s got to be a way. I assume others used it successfully since I haven’t seen any post. Any thoughts? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en