NOTE: This functionality was deprecated as of LumenVox version 12.0 (November 2013), and should no longer be used.
Sets the pointer to the voice channel's copy of the original preprocessed audio data.
Function
- int GetVoiceChannelData( int VoiceChannel, short** PCM, unsigned int* Samples)
Parameters
VoiceChannel
The channel containing the audio data.
PCM
A pointer to the preprocessed audio data in the voice channel.
Samples
A pointer to set the size of the audio data returned in PCM.
Return Values
LV_SUCCESS
indicates success.
LV_INVALID_HPORT
The port is not valid (either CreateClient has not been called or DestroyClient has been called prior to this call)
LV_FAILURE
The operation failed because the port was shutting down.
LV_INVALID_SOUND_CHANNEL
the voice channel provided is not valid
LV_TIME_OUT
the maximum amount of time to retreive the data has been exceeded
LV_EXCEPTION
An exception occurred while processing the request.
See Also
LVSpeechPort::LoadVoiceChannel
LV_SRE_GetVoiceChannelData (C API)