Code example for AudioTrack

Methods: pause

0
	} 
 
	public void pause(){ 
		Log.d("Player", "PAUSE");
 
		audioTrack.pause();
	} 
 
	public void play() { 
		 
		Log.d("Player", "PLAY");
		Thread th = new Thread(loader);	
		th.start();
		audioTrack.play();
	} 
 
	public void stop() { 
		audioTrack.stop();
		Log.d("Player", "STOP");
		audioTrack.release();
	}