@@ -0,0 +1,886 @@
+package au.id.jms.usbaudio;%0A%0Aimport android.media.AudioFormat;%0Aimport android.media.AudioManager;%0Aimport android.media.AudioTrack;%0Aimport android.util.Log;%0A%0Apublic class AudioPlayback %7B%0A%09private static final String TAG = %22AudioPlayback%22;%0A%09%0A%09private static final int SAMPLE_RATE_HZ = 48000;%0A%09%0A%09private static AudioTrack track = null;%0A%09%09%0A%09public static void setup() %7B%0A%09%09Log.i(TAG, %22Audio Playback%22);%0A%09%09%0A%09%09int bufSize = AudioTrack.getMinBufferSize(SAMPLE_RATE_HZ, %0A%09%09%09%09AudioFormat.CHANNEL_OUT_STEREO, AudioFormat.ENCODING_PCM_16BIT);%0A%09%09Log.d(TAG, %22Buf size: %22 + bufSize);%0A%09%09%0A%09%09track = new AudioTrack(AudioManager.STREAM_MUSIC,%0A%09%09%09%09SAMPLE_RATE_HZ,%0A%09%09%09%09AudioFormat.CHANNEL_OUT_STEREO,%0A%09%09%09%09AudioFormat.ENCODING_PCM_16BIT,%0A%09%09%09%09bufSize,%0A%09%09%09%09AudioTrack.MODE_STREAM);%0A%09%09track.play();%0A%09%7D%0A%09%0A%09public static void write(byte%5B%5D decodedAudio) %7B%0A%09%09track.write(decodedAudio, 0, decodedAudio.length);%0A%09%7D%0A%7D%0A

Add AudioPlayback class