Rudy_FnP
Rudy_FnP

Reputation: 41

Windows Speech Recognition Hello World not working

I am trying to get Windows::Media::SpeechRecognition working on Windows10 but I have trouble making my Hello World App working.

Here is what I did:

And that's it. I do not receive any more callbacks when speaking into my mic.

For the record, my mic is properly plugged, it is the default mic on Windows, and it is functional.

Upvotes: 0

Views: 158

Answers (1)

Rudy_FnP
Rudy_FnP

Reputation: 41

I found what was wrong on my application. I post here the answer in case anyone has the same issue.

It turns out that this type of UWP applications comes embedded with a file called Package.appxmanifest, that holds some settings of the application.

This manifest file has a "Capabilities" section, on which I had to turn on "Internet (client)" and "Microphone" capabilities.

After recompilation, everything was working fine.

Upvotes: 1

Related Questions