예제 #1
0
        private void AddNewSeg(TTSVoice pCurrVoice, AudioData audio)
        {
            SpeechSeg speechSeg = new SpeechSeg(pCurrVoice, audio);

            _listSeg.Add(speechSeg);
            _lastSeg = speechSeg;
        }
예제 #2
0
        internal SpeechSeg RemoveFirst()
        {
            SpeechSeg result = null;

            if (_listSeg.Count > 0)
            {
                result = _listSeg[0];
                _listSeg.RemoveAt(0);
            }
            return(result);
        }