changed macro name

This commit is contained in:
Volker Fischer 2010-03-21 08:31:17 +00:00
parent c1cd911c56
commit c7f1992890
2 changed files with 11 additions and 11 deletions

View file

@ -49,7 +49,7 @@ CClient::CClient ( const quint16 iPortNumber ) :
bFraSiFactPrefSupported ( false ),
bFraSiFactDefSupported ( false ),
bFraSiFactSafeSupported ( false ),
iCeltNumCodedBytes ( CELT_NUM_BYTES_NORMAL_QUALITY ),
iCeltNumCodedBytes ( CELT_NUM_BYTES_MONO_NORMAL_QUALITY ),
bCeltDoHighQuality ( false ),
bSndCrdConversionBufferRequired ( false ),
iSndCardMonoBlockSizeSamConvBuff ( 0 )
@ -498,11 +498,11 @@ void CClient::Init()
// inits for CELT coding
if ( bCeltDoHighQuality )
{
iCeltNumCodedBytes = CELT_NUM_BYTES_HIGH_QUALITY;
iCeltNumCodedBytes = CELT_NUM_BYTES_MONO_HIGH_QUALITY;
}
else
{
iCeltNumCodedBytes = CELT_NUM_BYTES_NORMAL_QUALITY;
iCeltNumCodedBytes = CELT_NUM_BYTES_MONO_NORMAL_QUALITY;
}
vecCeltData.Init ( iCeltNumCodedBytes );

View file

@ -57,18 +57,18 @@
/* Definitions ****************************************************************/
// audio in fader range
#define AUD_FADER_IN_MIN 0
#define AUD_FADER_IN_MAX 100
#define AUD_FADER_IN_MIDDLE ( AUD_FADER_IN_MAX / 2 )
#define AUD_FADER_IN_MIN 0
#define AUD_FADER_IN_MAX 100
#define AUD_FADER_IN_MIDDLE ( AUD_FADER_IN_MAX / 2 )
// audio reverberation range
#define AUD_REVERB_MAX 100
#define AUD_REVERB_MAX 100
// CELT number of coded bytes per audio packet
// 24: low/normal quality 156 kbsp (128) / 114 kbps (256)
// 44: high quality 216 kbps (128) / 174 kbps (256)
#define CELT_NUM_BYTES_NORMAL_QUALITY 24
#define CELT_NUM_BYTES_HIGH_QUALITY 44
// 24: mono low/normal quality 156 kbsp (128) / 114 kbps (256)
// 44: mono high quality 216 kbps (128) / 174 kbps (256)
#define CELT_NUM_BYTES_MONO_NORMAL_QUALITY 24
#define CELT_NUM_BYTES_MONO_HIGH_QUALITY 44
/* Classes ********************************************************************/