changed macro name
This commit is contained in:
parent
c1cd911c56
commit
c7f1992890
2 changed files with 11 additions and 11 deletions
|
@ -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 );
|
||||
|
||||
|
|
|
@ -65,10 +65,10 @@
|
|||
#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 ********************************************************************/
|
||||
|
|
Loading…
Reference in a new issue