mirror of
https://github.com/maker-community/ElectronBot.DotNet.git
synced 2026-10-28 20:57:53 +08:00
update sdk
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user