Code example for AudioTrack

Methods: releasestop

0
    	if ( pipe != null ) {
    		Log.i( TAG , "[ shutdown() ] closing pipe");
    		pipe.close();
    	} 
    	if ( audioTrack != null ) {
    		audioTrack.stop();
    		audioTrack.release();
    	} 
         
    } 
 
     
}