code: public boolean isStreamSubsetCompliant() {
      boolean result = true;
      result &= (maxBlockSize < 16384);
      if(sampleRate <= 48000)
        result &= (maxBlockSize < 4608);
      switch(bitsPerSample) {
        case 8:
        case 12:
        case 16:
        case 20:
        case 24: break;
        default: result = false;
      }
      return result;
    }
docs: Test if stream is Subset compliant. FLAC defines a subset of options to
  ensure resulting FLAC streams are streamable. Not all options in that
  subset are defined by the StreamConfiguration class, however, but exist
  in the EncodingConfiguration class. Therefore, the alternative method
  {@link StreamConfiguration#isEncodingSubsetCompliant(net.sourceforge.javaflacencoder.EncodingConfiguration)
  isEncodingSubsetCompliant}
  should be checked as well to ensure the combined Stream/Encoding
  configurations are BOTH valid.
  @return true if this configuration is Subset compliant, false otherwise.