TeamTalk 5 C-API DLL Version 5.15A
Loading...
Searching...
No Matches
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).
 
INT32 nQuality
 A value from 1-10. As of DLL version 4.2 also 0 is supported.
 
INT32 nTxIntervalMSec
 Milliseconds of audio data before each transmission.
 
TTBOOL bStereoPlayback
 Playback should be done in stereo. Doing so will disable 3d-positioning.
 

Detailed Description

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

Deprecated:
Use OpusCodec.
See also
SpeexVBRCodec

Definition at line 1056 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 1060 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 1063 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 1073 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 1079 of file TeamTalk.h.