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 ; }
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 .