Macros | Enumerations
msp_types.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MSPAPI
 

Enumerations

enum  { MSP_AUDIO_SAMPLE_INIT = 0x00, MSP_AUDIO_SAMPLE_FIRST = 0x01, MSP_AUDIO_SAMPLE_CONTINUE = 0x02, MSP_AUDIO_SAMPLE_LAST = 0x04 }
 
enum  {
  MSP_REC_STATUS_SUCCESS = 0, MSP_REC_STATUS_NO_MATCH = 1, MSP_REC_STATUS_INCOMPLETE = 2, MSP_REC_STATUS_NON_SPEECH_DETECTED = 3,
  MSP_REC_STATUS_SPEECH_DETECTED = 4, MSP_REC_STATUS_COMPLETE = 5, MSP_REC_STATUS_MAX_CPU_TIME = 6, MSP_REC_STATUS_MAX_SPEECH = 7,
  MSP_REC_STATUS_STOPPED = 8, MSP_REC_STATUS_REJECTED = 9, MSP_REC_STATUS_NO_SPEECH_FOUND = 10, MSP_REC_STATUS_FAILURE = MSP_REC_STATUS_NO_MATCH
}
 
enum  {
  MSP_EP_LOOKING_FOR_SPEECH = 0, MSP_EP_IN_SPEECH = 1, MSP_EP_AFTER_SPEECH = 3, MSP_EP_TIMEOUT = 4,
  MSP_EP_ERROR = 5, MSP_EP_MAX_SPEECH = 6, MSP_EP_IDLE = 7
}
 
enum  { MSP_TTS_FLAG_STILL_HAVE_DATA = 1, MSP_TTS_FLAG_DATA_END = 2, MSP_TTS_FLAG_CMD_CANCELED = 4 }
 
enum  { MSP_HCR_DATA_FIRST = 1, MSP_HCR_DATA_CONTINUE = 2, MSP_HCR_DATA_END = 4 }
 
enum  {
  MSP_IVW_MSG_WAKEUP = 1, MSP_IVW_MSG_ERROR = 2, MSP_IVW_MSG_ISR_RESULT = 3, MSP_IVW_MSG_ISR_EPS = 4,
  MSP_IVW_MSG_VOLUME = 5, MSP_IVW_MSG_ENROLL = 6, MSP_IVW_MSG_RESET = 7
}
 
enum  { MSP_DATA_SAMPLE_INIT = 0x00, MSP_DATA_SAMPLE_FIRST = 0x01, MSP_DATA_SAMPLE_CONTINUE = 0x02, MSP_DATA_SAMPLE_LAST = 0x04 }
 

Macro Definition Documentation

#define MSPAPI

Definition at line 8 of file msp_types.h.

Enumeration Type Documentation

anonymous enum

MSPSampleStatus indicates how the sample buffer should be handled MSP_AUDIO_SAMPLE_FIRST - The sample buffer is the start of audio If recognizer was already recognizing, it will discard audio received to date and re-start the recognition MSP_AUDIO_SAMPLE_CONTINUE - The sample buffer is continuing audio MSP_AUDIO_SAMPLE_LAST - The sample buffer is the end of audio The recognizer will cease processing audio and return results Note that sample statii can be combined; for example, for file-based input the entire file can be written with SAMPLE_FIRST | SAMPLE_LAST as the status. Other flags may be added in future to indicate other special audio conditions such as the presence of AGC

Enumerator
MSP_AUDIO_SAMPLE_INIT 
MSP_AUDIO_SAMPLE_FIRST 
MSP_AUDIO_SAMPLE_CONTINUE 
MSP_AUDIO_SAMPLE_LAST 

Definition at line 27 of file msp_types.h.

anonymous enum
Enumerator
MSP_REC_STATUS_SUCCESS 
MSP_REC_STATUS_NO_MATCH 
MSP_REC_STATUS_INCOMPLETE 
MSP_REC_STATUS_NON_SPEECH_DETECTED 
MSP_REC_STATUS_SPEECH_DETECTED 
MSP_REC_STATUS_COMPLETE 
MSP_REC_STATUS_MAX_CPU_TIME 
MSP_REC_STATUS_MAX_SPEECH 
MSP_REC_STATUS_STOPPED 
MSP_REC_STATUS_REJECTED 
MSP_REC_STATUS_NO_SPEECH_FOUND 
MSP_REC_STATUS_FAILURE 

Definition at line 49 of file msp_types.h.

anonymous enum

The enumeration MSPepState contains the current endpointer state MSP_EP_LOOKING_FOR_SPEECH - Have not yet found the beginning of speech MSP_EP_IN_SPEECH - Have found the beginning, but not the end of speech MSP_EP_AFTER_SPEECH - Have found the beginning and end of speech MSP_EP_TIMEOUT - Have not found any audio till timeout MSP_EP_ERROR - The endpointer has encountered a serious error MSP_EP_MAX_SPEECH - Have arrive the max size of speech

Enumerator
MSP_EP_LOOKING_FOR_SPEECH 
MSP_EP_IN_SPEECH 
MSP_EP_AFTER_SPEECH 
MSP_EP_TIMEOUT 
MSP_EP_ERROR 
MSP_EP_MAX_SPEECH 
MSP_EP_IDLE 

Definition at line 74 of file msp_types.h.

anonymous enum
Enumerator
MSP_TTS_FLAG_STILL_HAVE_DATA 
MSP_TTS_FLAG_DATA_END 
MSP_TTS_FLAG_CMD_CANCELED 

Definition at line 86 of file msp_types.h.

anonymous enum
Enumerator
MSP_HCR_DATA_FIRST 
MSP_HCR_DATA_CONTINUE 
MSP_HCR_DATA_END 

Definition at line 94 of file msp_types.h.

anonymous enum
Enumerator
MSP_IVW_MSG_WAKEUP 
MSP_IVW_MSG_ERROR 
MSP_IVW_MSG_ISR_RESULT 
MSP_IVW_MSG_ISR_EPS 
MSP_IVW_MSG_VOLUME 
MSP_IVW_MSG_ENROLL 
MSP_IVW_MSG_RESET 

Definition at line 102 of file msp_types.h.

anonymous enum
Enumerator
MSP_DATA_SAMPLE_INIT 
MSP_DATA_SAMPLE_FIRST 
MSP_DATA_SAMPLE_CONTINUE 
MSP_DATA_SAMPLE_LAST 

Definition at line 114 of file msp_types.h.



xbot_talker
Author(s): wangxiaoyun
autogenerated on Sat Oct 10 2020 03:27:54