File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -479,14 +479,15 @@ void CServer::OnCLReqServerInfo ( CHostAddress RecHostAddr )
479479{
480480 uint32_t iFeatures = 0 ;
481481
482- iFeatures |= ( !bUseDoubleSystemFrameSize << FS_SMALL_NETW_BUF );
482+ iFeatures |= ( !bUseDoubleSystemFrameSize << FS_FAST_UPDATE );
483483 iFeatures |= ( bUseMultithreading << FS_MULTITHREADING );
484- iFeatures |= ( GetRecorderInitialised () << FS_RECORDER_INIT );
485- iFeatures |= ( GetDisableRecording () << FS_DISABLE_RECORDING );
486- iFeatures |= ( (JamController.GetRecorderState () != RS_RECORDING ) << FS_IS_RECORDING );
484+ iFeatures |= ( GetRecorderInitialised () && !GetDisableRecording () << FS_RECORDER_ENABLED );
485+ iFeatures |= ( (JamController.GetRecorderState () == RS_RECORDING ) << FS_IS_RECORDING );
487486 iFeatures |= ( bDelayPan << FS_DELAY_PAN );
488- iFeatures |= ( bEnableIPv6 << FS_ENABLE_IPV6 );
489- // iFeatures |= ( bDisableRaw << FS_RAW_AUDIO );
487+ iFeatures |= ( IsIPv6Available () << FS_IPV6_AVAILABLE );
488+ iFeatures |= ( bDisableRaw << FS_RAW_AUDIO );
489+ iFeatures |= ( bDisconnectAllClientsOnQuit << FS_DISCONONQUIT );
490+ iFeatures |= ( !strWelcomeMessage.isEmpty () << FS_HAS_WELCOME_MESSAGE );
490491
491492 ConnLessProtocol.CreateCLServerInfoMes ( RecHostAddr, iFeatures );
492493}
Original file line number Diff line number Diff line change @@ -617,14 +617,15 @@ enum EDirectoryType
617617enum EFeatureSet
618618{
619619 // used for protocol -> enum values must be fixed
620- FS_SMALL_NETW_BUF = 0 ,
620+ FS_FAST_UPDATE = 0 ,
621621 FS_MULTITHREADING = 1 ,
622- FS_RECORDER_INIT = 2 ,
623- FS_DISABLE_RECORDING = 3 ,
624- FS_IS_RECORDING = 4 ,
625- FS_DELAY_PAN = 5 ,
626- FS_ENABLE_IPV6 = 6 ,
627- FS_RAW_AUDIO = 7
622+ FS_RECORDER_ENABLED = 2 ,
623+ FS_IS_RECORDING = 3 ,
624+ FS_DELAY_PAN = 4 ,
625+ FS_IPV6_AVAILABLE = 5 ,
626+ FS_RAW_AUDIO = 6 ,
627+ FS_DISCONONQUIT = 7 ,
628+ FS_HAS_WELCOME_MESSAGE = 8
628629};
629630
630631inline QString DirectoryTypeToString ( EDirectoryType eAddrType )
You can’t perform that action at this time.
0 commit comments