简体   繁体   English

Windows 10升级后,应用程序无法“看到”麦克风

[英]App doesn't “see” the microphone after Windows 10 upgrade

2 days ago my Windows 10 had a complete auto upgrade & the result of that is that a WPF application that I wrote, stopped "seeing" my microphones (I tested 3 different ones). 2天前,我的Windows 10进行了完整的自动升级,结果是我编写的WPF应用程序停止“看到”我的麦克风(我测试了3种不同的麦克风)。 Windows itself is seeing them perfectly fine. Windows本身认为它们完美无缺。 But the app doesn't seem to activate them (the green led light doesn't turn on like it used to) upon launch. 但是该应用似乎在启动时并未激活它们(绿色的led灯没有像以前那样打开)。 Any ideas where I could start looking to fix this? 有什么想法可以开始解决这个问题吗? I already re downloaded the microphone's drivers and did a fresh install. 我已经重新下载了麦克风的驱动程序并进行了全新安装。 I guess its not a code issue since I haven't touched the code at all, but below I show the part where I use to start the Speech Recognition. 我想这根本不是代码问题,因为我根本没有接触过代码,但是下面我展示了我用来启动语音识别的部分。 Thank you. 谢谢。

       private void StartRecognition()
    {
        LoadGrammars();

            recognizer.SpeechDetected += new EventHandler<SpeechDetectedEventArgs>(recognizer_SpeechDetected);
            recognizer.SpeechRecognitionRejected += new EventHandler<SpeechRecognitionRejectedEventArgs>(recognizer_SpeechRecognitionRejected);
            recognizer.SpeechRecognized += new EventHandler<SpeechRecognizedEventArgs>(recognizer_SpeechRecognized);
            recognizer.RecognizeCompleted += new EventHandler<RecognizeCompletedEventArgs>(recognizer_RecognizeCompleted);

            speechRecognitionThread = new System.Threading.Thread(delegate ()
            {
                try
                {
                    recognizer.SetInputToDefaultAudioDevice();
                    recognizer.RecognizeAsync(RecognizeMode.Multiple);

                }
                catch { }

            });
            speechRecognitionThread.Start();
    }

I found the problem. 我发现了问题。 Even though your microphone might appear and work correctly in Windows Sound settings, you still need to set it up further so that all apps can see it and not just Windows. 即使您的麦克风可能会出现并在Windows声音设置中正常工作,您仍然需要进行进一步设置,以便所有应用程序都能看到它,而不仅仅是Windows。 Here is how you do that: 这是您的操作方式:

  1. Go to your control panel and click on "speech recognition". 转到控制面板,然后单击“语音识别”。

  2. Now click on Advanced speech recognition. 现在单击高级语音识别。

  3. On the bottom of the window that opened, click the middle button, labeled "Advanced". 在打开的窗口的底部,单击标记为“高级”的中间按钮。
  4. Make sure the 2nd checkbox is checked and choose the microphone you want to set as your default in the drop down menu. 确保选中第二个复选框,然后在下拉菜单中选择要设置为默认麦克风。
  5. Press ok and you should be all set up. 按确定,您应该已经完成​​所有设置。

Hope this heps others! 希望这能帮助别人!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 查看应用程序是否正在使用 Windows 10 上的麦克风 - See if an app is using the Microphone on Windows 10 Unity无法识别麦克风,但Windows可以识别 - Unity doesn't recognize microphone, but Windows does Windows 10升级后WCF服务的例外 - Exception with WCF Service after Windows 10 Upgrade Windows 10升级后MVC拒绝访问 - MVC Gives Access Is Denied After Windows 10 Upgrade Windows 10创建者更新后,对BluetoothLEDevice.FromIdAsync的调用不起作用 - Calls to BluetoothLEDevice.FromIdAsync doesn't work after the windows 10 creators update 为什么Windows服务看不到环境变量? - Why windows service doesn't see environment variable? 为什么从 Windows 安装程序安装后没有添加 app.config? - Why doesn't app.config get added after installing from windows installer? 安装后,带有 Access 数据库 (accdb) 的 c# windows 应用程序在其他计算机上不起作用 - The c# windows app with Access database (accdb) doesn't work on other computers after installation 在Windows应用商店中看不到我的应用程序图标 - Can't see my app icon on windows store Designer &amp; Resx 导入后看不到表单 - Designer & Resx doesn't see form after import
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM