Initialise CChannel::iCurSockBufNumFrames.
This avoids a comparison with an uninitialised value when SetSockBufNumFrames is called later in the constructor.
This commit is contained in:
parent
c926db8360
commit
413a995ad7
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@
|
|||
CChannel::CChannel ( const bool bNIsServer ) :
|
||||
vecdGains ( MAX_NUM_CHANNELS, 1.0 ),
|
||||
vecdPannings ( MAX_NUM_CHANNELS, 0.5 ),
|
||||
iCurSockBufNumFrames ( -1 ),
|
||||
bDoAutoSockBufSize ( true ),
|
||||
iFadeInCnt ( 0 ),
|
||||
iFadeInCntMax ( FADE_IN_NUM_FRAMES_DBLE_FRAMESIZE ),
|
||||
|
|
Loading…
Reference in a new issue