diff --git a/src/channel.cpp b/src/channel.cpp index 924f74d5..728e9e79 100755 --- a/src/channel.cpp +++ b/src/channel.cpp @@ -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 ), diff --git a/src/signalhandler.cpp b/src/signalhandler.cpp index 1e99414f..bf273545 100755 --- a/src/signalhandler.cpp +++ b/src/signalhandler.cpp @@ -174,6 +174,7 @@ bool CSignalUnix::setSignalHandled ( int sigNum, bool state ) else { sa.sa_handler = SIG_DFL; + sa.sa_flags = 0; } return ::sigaction ( sigNum, &sa, nullptr ) == 0;