내 SAPI 코드는 다음과 같습니다 sapi를 사용하여 proc 음성 인식 만들기 C#? proc 디렉토리에서 인식 엔진을 설정하는
ISpeechRecoContext cpRecoCtx;
// create the recognition context
cpRecoCtx = new SpeechLib.SpInProcRecoContext();
((SpInProcRecoContext)cpRecoCtx).Recognition +=
new _ISpeechRecoContextEvents_RecognitionEventHandler(RecoContext_Recognition);
/****** END: set up recognition context *****/
그래서 어떻게 설정 내 오디오 입력은 C#에서 오디오 입력을 기본합니까? C++에서는 솔루션을 찾았지만 C#에서는 솔루션이 필요합니다.
제공하신 코드가 불완전합니다. 특히 인식기 엔진과 입력 소스를 지정해야합니다. –