bug fix
This commit is contained in:
parent
87bf110ef3
commit
edc72bf60e
1 changed files with 3 additions and 0 deletions
|
@ -136,6 +136,9 @@ void CChannel::SetNetwFrameSizeAndFact ( const int iNewNetwFrameSize,
|
||||||
iNetwFrameSize = iNewNetwFrameSize;
|
iNetwFrameSize = iNewNetwFrameSize;
|
||||||
iNetwFrameSizeFact = iNewNetwFrameSizeFact;
|
iNetwFrameSizeFact = iNewNetwFrameSizeFact;
|
||||||
|
|
||||||
|
// init socket buffer
|
||||||
|
SockBuf.Init ( iNetwFrameSize, iCurSockBufNumFrames );
|
||||||
|
|
||||||
// init conversion buffer
|
// init conversion buffer
|
||||||
ConvBuf.Init ( iNetwFrameSize * iNetwFrameSizeFact );
|
ConvBuf.Init ( iNetwFrameSize * iNetwFrameSizeFact );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue