public void stop(){
  if (mRunning.compareAndSet(true,false)) {
    mTargetDataLine.stop();
    mTargetDataLine.close();
  }
}

public void stop ( ) { if ( mRunning . compareAndSet ( true , false ) ) { mTargetDataLine . stop ( ) ; mTargetDataLine . close ( ) ; } }
stops the reader thread
