From 3140bde1ea10558f821c22baaa646a4f92b195af Mon Sep 17 00:00:00 2001 From: icculus Date: Sat, 7 Jun 2008 14:39:49 +0000 Subject: VoIP: Initial work on adding Speex preprocessor. git-svn-id: svn://svn.icculus.org/quake3/trunk@1373 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/client/client.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'code/client/client.h') 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; -- cgit v1.2.3