CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

Interface: ISpeechRecoContext

AudioInputInterferenceStatus Property


The AudioInputInterferenceStatus property returns information about interference with the audio input of the recognition context.

This information is usually returned by the ISpeechRecoContext Interference event.


Syntax

Set: (This property is read-only)
Get: SpeechInterference = SpeechRecoContext.AudioInputInterferenceStatus

Parts

SpeechRecoContext
The owning object.
SpeechInterference
Set: (This property is read-only)
Get: A SpeechInterference constant reflecting the interference type.

Example

The following code snippet demonstrates retrieving the interference status for the last recognition. It assumes a valid RecognitionContext and speech recognition code in place.

Public WithEvents RecognitionContext As SpSharedRecoContext

'Speech processing code here

Dim interference As SpeechInterference
interference = RecognitionContext.AudioInputInterferenceStatus

A more realistic example returns the Interference event. In this example, the event displays a message in the Label1 label item of the application's Form1.

Private Sub RC_Interference(ByVal StreamNumber As Long, ByVal StreamPosition As Variant, ByVal interference As SpeechLib.SpeechInterference)
    Form1.Label1.Caption = "Interference detected: " & interference
End Sub


You are reading help file online using chmlib.com

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com
Partner sites: Logo Design, Simple Anti-Crisis Accounting Software, Voice Search for Web