示例#1
0
 /// <summary>Reinitialize the RTT encoder to a blank string state</summary>
 public void Clear()
 {
     redundancyClock.Reset();
     fullMessageTransmit = false;
     message.Reset();
     messagePrevious.Reset();
     rtt = doc.CreateElement(RealTimeText.ROOT);
 }
示例#2
0
 /// <summary>Reinitialize the RTT decoder to a blank string state (new message)</summary>
 public void Reset()
 {
     lock (rttElementQueue)
     {
         rttElementQueue.Clear();
         message.Reset();
         message.KeyIntervalsEnabled = true;
         sync = true;
     }
 }