Hi, i'm facing the same problem, have you find any solution?
Agent_9191 wrote:
Agent_9191 wrote:
I'm working on a project that makes use of System.Speech.Recognition.SpeechRecognitionEngine and System.Speech.Synthesis.SpeechSynthesizer, and want to use NAudio to grab the available microphones and speakers via WASAPI. I can grab the appropriate MMDevice that I want to use for the speaker or microphone, but the issue I'm running into is retrieving a stream (or piping the data to an appropriate stream) to to pass along to the SpeechRecognitionEngine.SetAudioInputStream() or SpeechSynthesizer.SetOutputToWaveStream(). I've tried a few different approaches but nothing seems to get piped along. Any pointers (or semi-full solution, if somebody's already tackled this...) are greatly appreciated.