TeamTalk 4 C-API DLL  Version 4.5A
AudioConfig Struct Reference

Common audio configuration which should be used by users in the same Channel. More...

#include <TeamTalk4.h>

Public Attributes

BOOL bEnableAGC
 Whether clients who join a Channel should automatically enable AGC with the settings specified bGainLevel, nMaxIncDBSec, nMaxDecDBSec and nMaxGainDB. If the local client instance has already enabled the flag CLIENT_SNDINPUT_AGC it will not enable AGC automatically when joining the channel. More...
 
INT32 nGainLevel
 A value from 0 to 32768. Default is 8000. More...
 
INT32 nMaxIncDBSec
 Used so volume should not be amplified too quickly (maximal gain increase in dB/second). Default is 12. More...
 
INT32 nMaxDecDBSec
 Negative value! Used so volume should not be attenuated too quickly (maximal gain decrease in dB/second). Default is -40. More...
 
INT32 nMaxGainDB
 Ensure volume doesn't become too loud (maximal gain in dB). Default is 30. More...
 
BOOL bEnableDenoise
 Whether clients who join the channel should automatically enable denoising. If the local client instance has already enabled the flag CLIENT_SNDINPUT_DENOISING it will not enable denoising automatically when joining a channel. More...
 
INT32 nMaxNoiseSuppressDB
 Negative value! Maximum attenuation of the noise in dB. Default value is -30. More...
 

Detailed Description

Common audio configuration which should be used by users in the same Channel.

Users' audio levels may be diffent due to how their microphone is configured in their OS. Automatic Gain Control (AGC) can be used to ensure all users in the same channel have the same audio level.

See Also
TT_DoMakeChannel()
TT_DoUpdateChannel()
TT_EnableAGC()

Member Data Documentation

BOOL AudioConfig::bEnableAGC

Whether clients who join a Channel should automatically enable AGC with the settings specified bGainLevel, nMaxIncDBSec, nMaxDecDBSec and nMaxGainDB. If the local client instance has already enabled the flag CLIENT_SNDINPUT_AGC it will not enable AGC automatically when joining the channel.

INT32 AudioConfig::nGainLevel

A value from 0 to 32768. Default is 8000.

INT32 AudioConfig::nMaxIncDBSec

Used so volume should not be amplified too quickly (maximal gain increase in dB/second). Default is 12.

INT32 AudioConfig::nMaxDecDBSec

Negative value! Used so volume should not be attenuated too quickly (maximal gain decrease in dB/second). Default is -40.

INT32 AudioConfig::nMaxGainDB

Ensure volume doesn't become too loud (maximal gain in dB). Default is 30.

BOOL AudioConfig::bEnableDenoise

Whether clients who join the channel should automatically enable denoising. If the local client instance has already enabled the flag CLIENT_SNDINPUT_DENOISING it will not enable denoising automatically when joining a channel.

INT32 AudioConfig::nMaxNoiseSuppressDB

Negative value! Maximum attenuation of the noise in dB. Default value is -30.