private void SpeakComboSend(BiliLiveJsonParser.ComboSend item)
 {
     if (speechProcessor.IsAvalable)
     {
         string ssmlDoc = SsmlHelper.Gift(item.Sender.Name, item.Number, item.GiftName, item.Action);
         speechProcessor.Speak(ssmlDoc);
     }
 }
 private void SpeakSuperChat(BiliLiveJsonParser.SuperChat item)
 {
     if (speechProcessor.IsAvalable)
     {
         string ssmlDoc = SsmlHelper.SuperChat(item.User.Name, item.Message);
         speechProcessor.Speak(ssmlDoc);
     }
 }
 private void SpeakDanmaku(BiliLiveJsonParser.Danmaku item)
 {
     if (speechProcessor.IsAvalable)
     {
         string ssmlDoc = SsmlHelper.Danmaku(item.Sender.Name, item.Message);
         speechProcessor.Speak(ssmlDoc);
     }
 }
        private void SpeakGift(GiftCacheManager.GiftCache gift)
        {
            if (gift.CoinType == "gold" && !OptionDict[DanmakuSpeechConfig.SpeechFilterOptions.GoldenGiftSpeech])
            {
                return;
            }
            if (gift.CoinType == "silver" && !OptionDict[DanmakuSpeechConfig.SpeechFilterOptions.SilverGiftSpeech])
            {
                return;
            }

            if (speechProcessor.IsAvalable)
            {
                string ssmlDoc = SsmlHelper.Gift(gift.Username, gift.Number, gift.GiftName, gift.Action);
                speechProcessor.Speak(ssmlDoc);
            }
        }