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) - 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 ); pSound->EmitReinitRequestSignal ( RS_RELOAD_RESTART_AND_INIT );
} }
/* /* NOTE that this code does not solve the crackling sound issue
if ( inAddresses->mSelector == kAudioDeviceProcessorOverload ) if ( inAddresses->mSelector == kAudioDeviceProcessorOverload )
{ {
// xrun handling (it is important to act on xruns under CoreAudio // 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 = const int iRecorderState =
static_cast<int> ( GetValFromStream ( vecData, iPos, 1 ) ); 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; return true;
} }

View file

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