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 ),
|
bFraSiFactPrefSupported ( false ),
|
||||||
bFraSiFactDefSupported ( false ),
|
bFraSiFactDefSupported ( false ),
|
||||||
bFraSiFactSafeSupported ( false ),
|
bFraSiFactSafeSupported ( false ),
|
||||||
iCeltNumCodedBytes ( CELT_NUM_BYTES_NORMAL_QUALITY ),
|
iCeltNumCodedBytes ( CELT_NUM_BYTES_MONO_NORMAL_QUALITY ),
|
||||||
bCeltDoHighQuality ( false ),
|
bCeltDoHighQuality ( false ),
|
||||||
bSndCrdConversionBufferRequired ( false ),
|
bSndCrdConversionBufferRequired ( false ),
|
||||||
iSndCardMonoBlockSizeSamConvBuff ( 0 )
|
iSndCardMonoBlockSizeSamConvBuff ( 0 )
|
||||||
|
@ -498,11 +498,11 @@ void CClient::Init()
|
||||||
// inits for CELT coding
|
// inits for CELT coding
|
||||||
if ( bCeltDoHighQuality )
|
if ( bCeltDoHighQuality )
|
||||||
{
|
{
|
||||||
iCeltNumCodedBytes = CELT_NUM_BYTES_HIGH_QUALITY;
|
iCeltNumCodedBytes = CELT_NUM_BYTES_MONO_HIGH_QUALITY;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
iCeltNumCodedBytes = CELT_NUM_BYTES_NORMAL_QUALITY;
|
iCeltNumCodedBytes = CELT_NUM_BYTES_MONO_NORMAL_QUALITY;
|
||||||
}
|
}
|
||||||
vecCeltData.Init ( iCeltNumCodedBytes );
|
vecCeltData.Init ( iCeltNumCodedBytes );
|
||||||
|
|
||||||
|
|
16
src/client.h
16
src/client.h
|
@ -57,18 +57,18 @@
|
||||||
|
|
||||||
/* Definitions ****************************************************************/
|
/* Definitions ****************************************************************/
|
||||||
// audio in fader range
|
// audio in fader range
|
||||||
#define AUD_FADER_IN_MIN 0
|
#define AUD_FADER_IN_MIN 0
|
||||||
#define AUD_FADER_IN_MAX 100
|
#define AUD_FADER_IN_MAX 100
|
||||||
#define AUD_FADER_IN_MIDDLE ( AUD_FADER_IN_MAX / 2 )
|
#define AUD_FADER_IN_MIDDLE ( AUD_FADER_IN_MAX / 2 )
|
||||||
|
|
||||||
// audio reverberation range
|
// audio reverberation range
|
||||||
#define AUD_REVERB_MAX 100
|
#define AUD_REVERB_MAX 100
|
||||||
|
|
||||||
// CELT number of coded bytes per audio packet
|
// CELT number of coded bytes per audio packet
|
||||||
// 24: low/normal quality 156 kbsp (128) / 114 kbps (256)
|
// 24: mono low/normal quality 156 kbsp (128) / 114 kbps (256)
|
||||||
// 44: high quality 216 kbps (128) / 174 kbps (256)
|
// 44: mono high quality 216 kbps (128) / 174 kbps (256)
|
||||||
#define CELT_NUM_BYTES_NORMAL_QUALITY 24
|
#define CELT_NUM_BYTES_MONO_NORMAL_QUALITY 24
|
||||||
#define CELT_NUM_BYTES_HIGH_QUALITY 44
|
#define CELT_NUM_BYTES_MONO_HIGH_QUALITY 44
|
||||||
|
|
||||||
|
|
||||||
/* Classes ********************************************************************/
|
/* Classes ********************************************************************/
|
||||||
|
|
Loading…
Reference in a new issue