예제 #1
0
        /// <summary>
        /// 读一个文本
        /// </summary>
        /// <param name="msg"></param>
        public void Speak(string msg)
        {
            if (m_curPrompt != null)
            {
                m_speaker.SpeakAsyncCancel(m_curPrompt);
            }

            m_curPrompt = m_speaker.SpeakAsync(msg);
        }