Microphone Setup dialog not working for SAPI 4
Last reviewed: 2/12/2003
PRB Article ID: P020302
The information in this article applies to:
- SpeechKit 4
ShowDialog CDMicTraining does not display the SAPI 4 Microphone Setup wizard
A SAPI 4 compliant recognizer may or may not support any of the ISRDialogs interface dialogs. The ISRDialogs TrainMicDlg is not supported and the cause of the return code.
SAPI 4 does provide an alternate interface ISTMICWIZARD for invoking the Microphone Setup Wizard. This is supported in SpeechKit 3 via the SetupMicrophone method.
Enhancement in SpeechKit 4 build 18.104.22.168.
The SpeechKit SAPI 4 component interface now invokes ISRDialogs TrainMicDlg if supported and invokes the ISTMICWIZARD if not.
In addition, the Application Framework was enhanced to support a Microphone setup facility to enable applications to optionally prompt end users to train their microphone.
|CSPMicrophone||11||Identifies the name of the microphone. Used to automatically invoke the recognizer’s microphone setup wizard when the application initially connects with the recognizer.|
|CSPMicrophoneHasRunMicWizard||12||Indicates the microphone wizard has been run previously. Valid values are TRUE or FALSE. Indicates the text message to use when prompting the user whether or not to run the microphone setup wizard.|
|CSPMicrophonePrompt||13||Indicates the text message to use when prompting the user whether or not to run the microphone setup wizard.|
Indicates one of the following microphone setup options:
|CSPMicrophoneTitle||15||Indicates the text title to use when prompting the user whether or not to run the microphone setup wizard.|
Because of new ChantStringProperty constants, you may need to do the following:
- Copy new VCL libraries to DelphiX\lib and updated CDLL to Delphi\bin directory;
- Compiled languages (e.g., C/C++, C#, Java, Pascal (Delphi), Visual Basic) applications must be recompiled;
- ActiveX applications (e.g., Director, Flash, FoxPro, PowerBuilder) than may have copied constant declarations, need to update these definitions and recompile.
Component Formats Impacted