code: public boolean registerConfiguration(EncodingConfiguration ec) {
      boolean changed = false;
      if(sc.getChannelCount() != 2)
        ec.setChannelConfig(EncodingConfiguration.ChannelConfig.INDEPENDENT);
      this.ec = new EncodingConfiguration(ec);
      verbatimSubframe.registerConfiguration(this.ec);
      fixedSubframe.registerConfiguration(this.ec);
      lpcSubframe.registerConfiguration(this.ec);
      constantSubframe.registerConfiguration(this.ec);
      changed = true;
      return changed;
    }
docs: This method is used to set the encoding configuration. This
  configuration can be altered throughout the stream, but cannot be called while an
  encoding process is active.
  
  @param ec    encoding configuration to use.
  @return      <code>true</code> if configuration was changed.
  <code>false</code> otherwise(i.e, and encoding process was active
  at the time of change)