c# - Is there an event in .NET for when default audio input changes? -


I am using System.Speech.Recognition in Windows 7 so that the user has a program Recognition code is integrated into the program by controlling voice commands. Now, the recognition engine program is built on startup and the user has been rebuilt on making changes to voice recognition language. All this works well.

Recently we had an issue with the creation of a validation engine if the system changes during the running of the default audio input program, then we have no way to answer it. In particular, if the mic was unplugged, the engine would not be able to get input when the program started. I go to a disabled state if Mike gets plugged in later, then I would like to keep the program in mind and update the engine.

Is there any disclosure for changes in system default audio input?

You need to implement, and call IMMDeviceEnumerator :: RegisterEndpointNotificationClall people for this one C # is the cover; I see it.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -