aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/client.h
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-06-07 14:39:49 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-06-07 14:39:49 +0000
commit3140bde1ea10558f821c22baaa646a4f92b195af (patch)
tree45cbba7b32a10d4e2cf3009dcbf9a72eb7464f54 /code/client/client.h
parent1f46e87bfdfd90e5af9927af7e19bf29389ab27e (diff)
downloadioquake3-aero-3140bde1ea10558f821c22baaa646a4f92b195af.tar.gz
ioquake3-aero-3140bde1ea10558f821c22baaa646a4f92b195af.zip
VoIP: Initial work on adding Speex preprocessor.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1373 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client/client.h')
-rw-r--r--code/client/client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/code/client/client.h b/code/client/client.h
index 9e9b212..3df4874 100644
--- a/code/client/client.h
+++ b/code/client/client.h
@@ -36,6 +36,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#if USE_VOIP
#include "speex/speex.h"
+#include "speex/speex_preprocess.h"
#endif
// file full of random crap that gets used to create cl_guid
@@ -248,6 +249,7 @@ typedef struct {
int voipTarget1; // these three ints make up a bit mask of 92 bits.
int voipTarget2; // the bits say who a VoIP pack is addressed to:
int voipTarget3; // (1 << clientnum). See cl_voipSendTarget cvar.
+ SpeexPreprocessState *speexPreprocessor;
SpeexBits speexEncoderBits;
void *speexEncoder;
int voipOutgoingDataSize;