Sets the pointers to the voice channel's copy of the original preprocessed audio data.
int LV_SRE_GetVoiceChannelData(HPORT hport, int VoiceChannel, short** PCM, unsigned int* Samples);
Zero (0) or greater indicates success.
A negative result indicates a specific error:
-8: LV_SOUND_CHANNEL_OUT_OF_RANGE: The grammar set specified is outside the valid range; possible values are 0-63, inclusive
-12: LV_INVALID_HPORT: The Hport was invalid. This is the result of a ClosePort call or a unrecoverable Speech Engine error.
VoiceChannel
The voice channel to process.
PCM
A pointer to a pointer that will be set to the post-processed audio data.
Samples
A pointer to an integer to the set the number of samples.
Complete Help Topic List | Speech Engine Product Information