CTR-VCT  2.0.2
VoiceChat Libraries
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
VCTConfig Struct Reference

Stores initialization parameters for the VCT library. More...


The documentation for this struct was generated from the following file:

Data Fields

VCTSessionsession
 Specifies the region to save the VCTSession structure in. More...
 
u32 numSession
 Specifies the size of the region specified in session. More...
 
VCTMode mode
 Specifies the chat mode (always specify VCT_MODE_CONFERENCE). More...
 
VCTECMode ecMode
 Specifies the operation mode of echo cancellation. More...
 
u16 cid
 Specifies the CID of the client. More...
 
u8 codec
 Specifies the codec for the main packets (always specify VCT_CODEC_4BIT_ADPCM). More...
 
u8 frameLength
 Specifies the audio frame length in milliseconds. More...
 
u8 flag
 Enables or disables VAD, spare packets, drop recovery, and high-pass filter features. More...
 
u8 _padding1_
 Represents a reserved region. More...
 
void * audioBuffer
 Specifies the receive buffer for the audio stream (requires 32-byte alignment). More...
 
u32 audioBufferSize
 Specifies the size of the buffer specified in audioBuffer. More...
 
VCTEventCallback callback
 Specifies the event callback function. More...
 
VCTSendCallback sendCallback
 Specifies the send callback function. More...
 
void * userData
 Specifies the user data to pass when calling the callback function. More...
 

Detailed Description

Stores initialization parameters for the VCT library.

See Also
VCT_Init


Revision History:
2011/10/21 Added the ecMode member to specify the operation mode of echo cancellation.

Field Documentation

u8 _padding1_

Represents a reserved region.

void* audioBuffer

Specifies the receive buffer for the audio stream (requires 32-byte alignment).

u32 audioBufferSize

Specifies the size of the buffer specified in audioBuffer.

VCTEventCallback callback

Specifies the event callback function.

u16 cid

Specifies the CID of the client.

u8 codec

Specifies the codec for the main packets (always specify VCT_CODEC_4BIT_ADPCM).

VCTECMode ecMode

Specifies the operation mode of echo cancellation.

u8 flag

Enables or disables VAD, spare packets, drop recovery, and high-pass filter features.

u8 frameLength

Specifies the audio frame length in milliseconds.

VCTMode mode

Specifies the chat mode (always specify VCT_MODE_CONFERENCE).

u32 numSession

Specifies the size of the region specified in session.

VCTSendCallback sendCallback

Specifies the send callback function.

VCTSession* session

Specifies the region to save the VCTSession structure in.

void* userData

Specifies the user data to pass when calling the callback function.