TeamTalk 5 C-API DLL Version 5.22A

Loading...
Searching...
No Matches
Public Attributes | List of all members
SpeexCodec Struct Reference
Audio and Video Codecs

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.

## Detailed Description

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

Deprecated:
  Use OpusCodec.

See also
  SpeexVBRCodec

Definition at line 1057 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 1061 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 1064 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 1074 of file TeamTalk.h.

## ◆ bStereoPlayback

TTBOOL SpeexCodec::bStereoPlayback

Playback should be done in stereo.

See also
  TT_SetUserPosition()
  TT_SetUserStereo()

Definition at line 1079 of file TeamTalk.h.