public void stop(){
  mCancel=true;
  if (mRunning.compareAndSet(true,false)) {
    if (mSampleDispatcherTask != null) {
      mThreadPoolManager.cancel(mSampleDispatcherTask);
      mSampleDispatcherTask=null;
      mFilledBuffers.clear();
    }
  }
}

public void stop ( ) { mCancel = true ; if ( mRunning . compareAndSet ( true , false ) ) { if ( mSampleDispatcherTask != null ) { mThreadPoolManager . cancel ( mSampleDispatcherTask ) ; mSampleDispatcherTask = null ; mFilledBuffers . clear ( ) ; } } }
stops the sample fetching thread
