public boolean isEncodingSubsetCompliant(EncodingConfiguration ec) {
    boolean result = true;
    result = isStreamSubsetCompliant();
    if(this.sampleRate <= 48000) {
      result &= ec.maximumLPCOrder <= 12;
      result &= ec.maximumRicePartitionOrder <= 8;
    }
    return result;
  }
public boolean isEncodingSubsetCompliant ( EncodingConfiguration ec ) { boolean result = true ; result = isStreamSubsetCompliant ( ) ; if ( this . sampleRate <= 48000 ) { result &= ec . maximumLPCOrder <= 12 ; result &= ec . maximumRicePartitionOrder <= 8 ; } return result ; }
Test if this StreamConfiguration and a paired EncodingConfiguration define
a Subset compliant stream. FLAC defines a subset of options to
ensure resulting FLAC streams are streamable.
@param ec EncodingConfiguration object to check against
@return true if these configurations are Subset compliant, false otherwise.