TeamTalk 5 C-API DLL  Version 5.14A
SpeexCodec Struct Reference

Speex audio codec settings for Constant Bitrate mode (CBR). More...

#include <TeamTalk.h>

Public Attributes

INT32 nBandmode
 Set to 0 for 8 KHz (narrow band), set to 1 for 16 KHz (wide band), set to 2 for 32 KHz (ultra-wide band). More...
 
INT32 nQuality
 A value from 1-10. As of DLL version 4.2 also 0 is supported. More...
 
INT32 nTxIntervalMSec
 Milliseconds of audio data before each transmission. More...
 
TTBOOL bStereoPlayback
 Playback should be done in stereo. Doing so will disable 3d-positioning. More...
 

Detailed Description

Speex audio codec settings for Constant Bitrate mode (CBR).

Deprecated:
Use OpusCodec.
See also
SpeexVBRCodec

Definition at line 1051 of file TeamTalk.h.

Member Data Documentation

◆ nBandmode

INT32 SpeexCodec::nBandmode

Set to 0 for 8 KHz (narrow band), set to 1 for 16 KHz (wide band), set to 2 for 32 KHz (ultra-wide band).

Definition at line 1055 of file TeamTalk.h.

◆ nQuality

INT32 SpeexCodec::nQuality

A value from 1-10. As of DLL version 4.2 also 0 is supported.

Definition at line 1058 of file TeamTalk.h.

◆ nTxIntervalMSec

INT32 SpeexCodec::nTxIntervalMSec

Milliseconds of audio data before each transmission.

Speex uses 20 msec frame sizes. Recommended is 40 msec. Min is 20, max is 500 msec.

The SoundSystem must be able to process audio packets at this interval. In most cases this makes less than 40 msec transmission interval unfeasible.

Definition at line 1068 of file TeamTalk.h.

◆ bStereoPlayback

TTBOOL SpeexCodec::bStereoPlayback

Playback should be done in stereo. Doing so will disable 3d-positioning.

See also
TT_SetUserPosition()
TT_SetUserStereo()

Definition at line 1074 of file TeamTalk.h.