From 9837af237d143b4f2c9c638abe79cba57307cdd2 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Thu, 30 Jul 2009 18:36:37 +0000 Subject: [PATCH] make the project compilable again --- src/buffer.h | 4 ++-- src/channel.cpp | 3 +++ src/client.cpp | 5 ----- src/res/frontpicture.xcf | Bin 84437 -> 84437 bytes src/socket.cpp | 1 + src/socket.h | 9 +++++++-- 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/buffer.h b/src/buffer.h index b430b168..30ef17cd 100755 --- a/src/buffer.h +++ b/src/buffer.h @@ -77,7 +77,7 @@ public: int GetSize() const { return iMemSize; } - bool CConvBuf::Put ( const CVector& vecsData ) + bool Put ( const CVector& vecsData ) { const int iVecSize = vecsData.Size(); @@ -93,7 +93,7 @@ public: return ( iEnd == iMemSize ); } - CVector CConvBuf::Get() + CVector Get() { iPutPos = 0; return vecsMemory; diff --git a/src/channel.cpp b/src/channel.cpp index ef125c00..d4a00680 100755 --- a/src/channel.cpp +++ b/src/channel.cpp @@ -140,6 +140,9 @@ void CChannel::SetNetwFrameSizeAndFact ( const int iNewNetwFrameSize, SYSTEM_SAMPLE_RATE, TIME_MOV_AV_RESPONSE ); CycleTimeVariance.Reset(); + + // tell the server that audio coding has changed + CreateNetTranspPropsMessFromCurrentSettings(); } bool CChannel::SetSockBufSize ( const int iNumBlocks ) diff --git a/src/client.cpp b/src/client.cpp index d9eab16c..214bef56 100755 --- a/src/client.cpp +++ b/src/client.cpp @@ -168,11 +168,6 @@ void CClient::SetSndCrdPreferredMonoBlSizeIndex ( const int iNewIdx ) { Sound.Start(); } - - // tell the server that audio coding has changed (it - // is important to call this function AFTER we have applied - // the new setting to the channel!) - Channel.CreateNetTranspPropsMessFromCurrentSettings(); } QString CClient::SetSndCrdDev ( const int iNewDev ) diff --git a/src/res/frontpicture.xcf b/src/res/frontpicture.xcf index d5de666e1e1a07f92a0ba369a2b01cfdba66de23..8dcb03dd4100616e617f546e68645a96ca35f39a 100755 GIT binary patch delta 40 tcmcaQnf2;q)(w9dCuj3}Y<6YpX9F{2IQ`isJBWKUZ|2{=nV(U~3IIkP4m