问题
I'm using an Audiotrack for looping some music.
I was using the method audioTrack.stop() to stop, but since the last update it doesn't work. From the last version only this way works:
audioTrack.pause();
audioTrack.flush();
But this method doesn't stop the audio in the previous Android versions. Anyone knows what method works in all the Android versions ?
来源:https://stackoverflow.com/questions/24479158/audiotrack-doesnt-stop-with-audiotrack-stop-since-last-android-version