The VoipMediaEngine..::.SPEECH_RECOGNITION_DATA type exposes the following members.

Fields

  NameDescription
AudioBandwidth
This member variable specified the format and rate of the sample data that was specified by the user’s application. Its value can be either AUDIO_BW_PCM_11K or AUDIO_BW_PCM_22K (VoipMediaEngine..::.AUDIO_BANDWIDTH).
BufferLengthInBytes
The number of bytes contained in the internal sample buffer. Because PCM data samples are two bytes in length (signed 16 bit short integers), the actual number of samples in the internal audio buffer is (BufferLengthInBytes/2).
SampleBuffer
The sample buffer. The application can use this sampled audio data for further processing.
UserData
This member variable holds the user specified instance data that was specified when the user callback was registered with the telephony engine.

See Also