update sdk

This commit is contained in:
gil zhang
2023-04-30 17:02:25 +08:00
parent 9e57da1dab
commit 940a67002e
4 changed files with 68 additions and 65 deletions
@@ -243,7 +243,7 @@ public partial class MainViewModel : ObservableRecipient, INavigationAware
ToastHelper.SendToast(text, TimeSpan.FromSeconds(2));
await ElectronBotHelper.Instance.MediaPlayerPlaySoundByTTSAsync(text, true);
await ElectronBotHelper.Instance.MediaPlayerPlaySoundByTtsAsync(text, true);
}
else if (e == Constants.FingerHeart && _isBeginning == true)
{
@@ -341,7 +341,7 @@ public partial class MainViewModel : ObservableRecipient, INavigationAware
ToastHelper.SendToast(text, TimeSpan.FromSeconds(2));
});
await ElectronBotHelper.Instance.MediaPlayerPlaySoundByTTSAsync(text);
await ElectronBotHelper.Instance.MediaPlayerPlaySoundByTtsAsync(text);
//var stream = await _speechAndTTSService.TextToSpeechAsync(text);