Code example for AudioTrack

Methods: releasestop

0
			Log.e("OF", "error finishing audio thread ", e);
		} 
		thread = null;
		 
 
		if(oTrack!=null){
			oTrack.stop();
			oTrack.release();
			oTrack = null;
		} 
		if(iTrack!=null){
			iTrack.release();
			iTrack = null;
		} 
		 
	} 
 
	@Override 
	protected void appPause() { 
		if(broadcastReceiver != null){
			try{