merge fixes and some other stuff

This commit is contained in:
Volker Fischer 2020-06-15 17:29:17 +02:00
parent d4e09a4680
commit fa0ff9faae
4 changed files with 6 additions and 10 deletions

View File

@ -11,8 +11,7 @@
- support for storing/recovering the server window positions (#357)
TODO Mac audio interface -> crackling
TODO try to reproduce: Quitting client when server window minimized not handled cleanly #355

View File

@ -907,7 +907,7 @@ OSStatus CSound::deviceNotification ( AudioDeviceID,
pSound->EmitReinitRequestSignal ( RS_RELOAD_RESTART_AND_INIT );
}
/*
/* NOTE that this code does not solve the crackling sound issue
if ( inAddresses->mSelector == kAudioDeviceProcessorOverload )
{
// xrun handling (it is important to act on xruns under CoreAudio

View File

@ -1585,7 +1585,10 @@ bool CProtocol::EvaluateRecorderStateMes(const CVector<uint8_t>& vecData)
const int iRecorderState =
static_cast<int> ( GetValFromStream ( vecData, iPos, 1 ) );
if ( iRecorderState != RS_UNDEFINED ) // ... to be defined ...
if ( ( iRecorderState != RS_UNDEFINED ) &&
( iRecorderState != RS_NOT_INITIALISED ) &&
( iRecorderState != RS_NOT_ENABLED ) &&
( iRecorderState != RS_RECORDING ) )
{
return true;
}

View File

@ -768,9 +768,6 @@ void CServer::Start()
// emit start signal
emit Started();
// send recording state message
CreateAndSendRecorderStateForAllConChannels();
}
}
@ -790,9 +787,6 @@ void CServer::Stop()
// emit stopped signal
emit Stopped();
// send recording state message - to no one
CreateAndSendRecorderStateForAllConChannels();
}
}