SpeechAndTts示例抛出异常 [英] SpeechAndTts Sample throws exception

查看:134
本文介绍了SpeechAndTts示例抛出异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从一组通用Windows应用示例中运行speechandtts示例:  https://github.com/Microsoft/Windows-universal-samples/tree/master/speechandtts

I'm trying to run the speechandtts sample from the set of universal windows app samples: https://github.com/Microsoft/Windows-universal-samples/tree/master/speechandtts

我正在使用VS 2015 14.0.22823.1在Windows 10 build 10074上运行示例应用程序,2个语音合成示例工作正常,但是当我尝试任何语音识别示例时,我看到一个系统.Exception(HRESULT异常:0x80050022)抛出并且
应用程序在堆栈中的以下位置崩溃:

I'm running the sample app on Windows 10 build 10074 with VS 2015 14.0.22823.1, the 2 speech synthesis samples work fine but as soon as I try any of the speech recognition samples I see a System.Exception (Exception from HRESULT: 0x80050022) throw and the app crashes at the following point in the stack:

我还尝试使用SpeechRecognizer创建自己的应用程序,我看到了一样的问题。有什么建议吗?

I've also tried to create my own app with the SpeechRecognizer and I see the same problem. Any suggestions?

谢谢,

Ben

推荐答案

嗨Ben,

您是否曾尝试过此代码示例  https://oxfordportal.blob.core.windows.net/example-speech/SpeechRecognitionExample.UniversalApp.zip 

Have you ever tried this code samples https://oxfordportal.blob.core.windows.net/example-speech/SpeechRecognitionExample.UniversalApp.zip 

这是用于语音识别的语音识别样本,它工作正常  在Windows 10 build 10074 with VS 2015 14.0.22823.1。

This is the speech recognition samples for speech recognition, it works fine on Windows 10 build 10074 with VS 2015 14.0.22823.1.


这篇关于SpeechAndTts示例抛出异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆