public void commitBuffer() throws IOException {
  if (mThread == null) {
    mThread=new Thread(this);
    mThread.start();
  }
  if (++mBufferIn >= mBufferCount)   mBufferIn=0;
  mBufferCommitted.release();
}

public void commitBuffer ( ) throws IOException { if ( mThread == null ) { mThread = new Thread ( this ) ; mThread . start ( ) ; } if ( ++ mBufferIn >= mBufferCount ) mBufferIn = 0 ; mBufferCommitted . release ( ) ; }
puts the buffer back into the fifo without sending the packet .
