Android examples for android.media:Audio
reverse Audio Track
public class Main { public static short[] reverseTrack(short[] track) { int length = track.length; short[] buffer = new short[length]; for (int i = 0; i < length; i++) { buffer[i] = track[length - i];/*w ww .ja v a 2 s .c o m*/ } return buffer; } }