TeamTalk 5 C-API DLL
Version 5.14A
|
Speex audio codec settings for Variable Bitrate mode (VBR). 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 0-10. If nBitRate is non-zero it will override this value. More... | |
INT32 | nBitRate |
The bitrate at which the audio codec should output encoded audio data. Dividing it by 8 gives roughly the number of bytes per second used for transmitting the encoded data. For limits check out SPEEX_NB_MIN_BITRATE, SPEEX_NB_MAX_BITRATE, SPEEX_WB_MIN_BITRATE, SPEEX_WB_MAX_BITRATE, SPEEX_UWB_MIN_BITRATE and SPEEX_UWB_MAX_BITRATE. Note that specifying nBitRate will override nQualityVBR. More... | |
INT32 | nMaxBitRate |
The maximum bitrate at which the audio codec is allowed to output audio. Set to zero if it should be ignored. More... | |
TTBOOL | bDTX |
Enable/disable discontinuous transmission. When enabled Speex will ignore silence, so the bitrate will become very low. 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... | |
Speex audio codec settings for Variable Bitrate mode (VBR).
Definition at line 1081 of file TeamTalk.h.
INT32 SpeexVBRCodec::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 1085 of file TeamTalk.h.
INT32 SpeexVBRCodec::nQuality |
A value from 0-10. If nBitRate
is non-zero it will override this value.
Definition at line 1088 of file TeamTalk.h.
INT32 SpeexVBRCodec::nBitRate |
The bitrate at which the audio codec should output encoded audio data. Dividing it by 8 gives roughly the number of bytes per second used for transmitting the encoded data. For limits check out SPEEX_NB_MIN_BITRATE, SPEEX_NB_MAX_BITRATE, SPEEX_WB_MIN_BITRATE, SPEEX_WB_MAX_BITRATE, SPEEX_UWB_MIN_BITRATE and SPEEX_UWB_MAX_BITRATE. Note that specifying nBitRate
will override nQualityVBR.
Definition at line 1097 of file TeamTalk.h.
INT32 SpeexVBRCodec::nMaxBitRate |
The maximum bitrate at which the audio codec is allowed to output audio. Set to zero if it should be ignored.
Definition at line 1101 of file TeamTalk.h.
TTBOOL SpeexVBRCodec::bDTX |
Enable/disable discontinuous transmission. When enabled Speex will ignore silence, so the bitrate will become very low.
Definition at line 1105 of file TeamTalk.h.
INT32 SpeexVBRCodec::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 1114 of file TeamTalk.h.
TTBOOL SpeexVBRCodec::bStereoPlayback |
Playback should be done in stereo. Doing so will disable 3d-positioning.
Definition at line 1120 of file TeamTalk.h.