From edc72bf60e214035ff7dac0721829ff4b01efba1 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Mon, 17 Aug 2009 13:14:49 +0000 Subject: [PATCH] bug fix --- src/channel.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/channel.cpp b/src/channel.cpp index a16f9ac8..192910fd 100755 --- a/src/channel.cpp +++ b/src/channel.cpp @@ -136,6 +136,9 @@ void CChannel::SetNetwFrameSizeAndFact ( const int iNewNetwFrameSize, iNetwFrameSize = iNewNetwFrameSize; iNetwFrameSizeFact = iNewNetwFrameSizeFact; + // init socket buffer + SockBuf.Init ( iNetwFrameSize, iCurSockBufNumFrames ); + // init conversion buffer ConvBuf.Init ( iNetwFrameSize * iNetwFrameSizeFact );