Browse
 
Tools
Rss Categories

LV_SRE_GetVoiceChannelData (deprecated)

Reference Number: AA-00705 Views: 1593 0 Rating/ Voters

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 LV_SRE_GetVoiceChannelData(HPORT hport, int VoiceChannel, short** PCM, unsigned int* Samples)

Parameters

hport

The port's handle.

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 input hport is not a valid one.

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

  • LV_SRE_LoadVoiceChannel
  • LVSpeechPort::GetVoiceChannelData (C++ API)