From c7f1992890427ee73d1e17f6611eb3ae5e71f1d9 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Sun, 21 Mar 2010 08:31:17 +0000 Subject: [PATCH] changed macro name --- src/client.cpp | 6 +++--- src/client.h | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/client.cpp b/src/client.cpp index d81f0947..84f2375f 100755 --- a/src/client.cpp +++ b/src/client.cpp @@ -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 ); diff --git a/src/client.h b/src/client.h index 1551d6d5..ebf89f7b 100755 --- a/src/client.h +++ b/src/client.h @@ -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 ********************************************************************/