code: public int fullBlockSamplesAvailableToEncode() {
      int available = 0;
      int channels = streamConfig.getChannelCount();
      for(BlockEncodeRequest ber : preparedRequests) {
        int[] block = ber.samples;
        available += block.length/channels;
      }
      return available;
    }
docs: Get number of samples which are ready to encode. More samples may exist
  in the encoder as a partial block. Use samplesAvailableToEncode() if you
  wish to include those as well.
  @return number of samples in full blocks, ready to encode.