private void AddNewSeg(TTSVoice pCurrVoice, AudioData audio) { SpeechSeg speechSeg = new SpeechSeg(pCurrVoice, audio); _listSeg.Add(speechSeg); _lastSeg = speechSeg; }
internal SpeechSeg RemoveFirst() { SpeechSeg speechSeg = null; if (_listSeg.Count > 0) { speechSeg = _listSeg[0]; _listSeg.RemoveAt(0); } return(speechSeg); }
internal SpeechSeg RemoveFirst() { SpeechSeg result = null; if (_listSeg.Count > 0) { result = _listSeg[0]; _listSeg.RemoveAt(0); } return(result); }