Beispiel #1
0
 public ChannelElement()
 {
     for (int i = 0; i < ch.Length; i++)
     {
         ch[i] = new SingleChannelElement();
     }
 }
Beispiel #2
0
 public virtual void copy(SingleChannelElement that)
 {
     ics.copy(that.ics);
     tns.copy(that.tns);
     pulse.copy(that.pulse);
     Utilities.copy(bandType, that.bandType);
     Utilities.copy(bandTypeRunEnd, that.bandTypeRunEnd);
     Utilities.copy(sf, that.sf);
     Utilities.copy(coeffs, that.coeffs);
     Utilities.copy(saved, that.saved);
     Utilities.copy(retBuf, that.retBuf);
     Utilities.copy(ltpState, that.ltpState);
     for (int i = 0; i < predictorState.Length; i++)
     {
         predictorState[i].copy(that.predictorState[i]);
     }
     ret = that.ret;
 }