merge fixes

This commit is contained in:
Volker Fischer 2020-06-01 09:55:31 +02:00
parent 9cdf178e86
commit 50ccb63163
3 changed files with 12 additions and 7 deletions

View file

@ -3,8 +3,11 @@
3.5.6git 3.5.6git
- enable/disable recording from command line, coded by pljones (#228)
- added check in acknowledge message, coded by atsampson (#302) - added check in acknowledge message, coded by atsampson (#302)
- bug fix: on MacOS declare an activity to ensure the process doesn't get throttled - bug fix: on MacOS declare an activity to ensure the process doesn't get throttled

View file

@ -400,7 +400,7 @@ CServer::CServer ( const int iNewMaxNumChan,
QString().number( static_cast<int> ( iPortNumber ) ) ); QString().number( static_cast<int> ( iPortNumber ) ) );
} }
// Enable jam recording (if requested) - kicks off the thread // enable jam recording (if requested) - kicks off the thread
if ( !strRecordingDirName.isEmpty() ) if ( !strRecordingDirName.isEmpty() )
{ {
bRecorderInitialised = JamRecorder.Init ( this, iServerFrameSizeSamples ); bRecorderInitialised = JamRecorder.Init ( this, iServerFrameSizeSamples );
@ -717,8 +717,10 @@ void CServer::RequestNewRecording()
void CServer::SetEnableRecording ( bool bNewEnableRecording ) void CServer::SetEnableRecording ( bool bNewEnableRecording )
{ {
if ( bRecorderInitialised ) { if ( bRecorderInitialised )
{
bEnableRecording = bNewEnableRecording; bEnableRecording = bNewEnableRecording;
if ( !bEnableRecording ) if ( !bEnableRecording )
{ {
emit StopRecorder(); emit StopRecorder();