Software Archive
Read-only legacy content
17061 Discussions

Flashcard Example doesn't work (Problem Solved)

Roy_F_
Beginner
317 Views

There's an example of the 'Flashcard Speech Recognition" by Bryan B. When you build the example there's a small code change that you have to make or else nothing will happen.

Find the line:-

status = speechRecognition.StartRec(null, handler);

if should be:-

status = speechRecognition.StartRec(audioSource, handler);

 

0 Kudos
2 Replies
Bryan_B_Intel1
Employee
317 Views

Thanks Roy, I'll look into this ASAP. -Bryan

0 Kudos
Bryan_B_Intel1
Employee
317 Views

Hi Roy,

I wanted to follow-up on your observation. If the audio source is omitted in StartRec, the SDK uses the default audio input device. After retesting the Flashcard sample with the latest SDK release, I found it works OK if you pass null or audioSource. I'm not sure why passing null is not working for you.

Thanks, Bryan

0 Kudos
Reply