@Override
  protected void onDestroy() {
    super.onDestroy();
    if (poller != null) poller.stop();
    if (rec != null) {
      rec.close();
      rec = null;
    }
    if (pb != null) {
      pb.close();
      pb = null;
    }

    // Utils.AudioOut.close();

    wl.release();
    // progBarUpdater.stopUpdates();

  }
 @Override
 protected void onPause() {
   super.onPause();
 }
 @Override
 protected void onResume() {
   super.onResume();
 }