2021-11-23 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in caed(8) that made it impossible to stop
	audio recordings manually.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-11-23 16:00:18 -05:00
parent 9231829495
commit 59e731cdbf
2 changed files with 7 additions and 1 deletions

View File

@@ -22571,3 +22571,6 @@
2021-10-28 Fred Gleason <fredg@paravelsystems.com>
* Moved the 'Daylight Saving Time Considerations' section in the
Operations Guide to after the 'The RDCatch Main Window' section.
2021-11-23 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in caed(8) that made it impossible to stop
audio recordings manually.

View File

@@ -634,7 +634,10 @@ void MainObject::stopRecordingData(int id,unsigned card,unsigned stream)
cae_server->sendCommand(id,QString::asprintf("SR %u %u -!",card,stream));
return;
}
if(!dvr->stopRecord(card,stream)) {
if(dvr->stopRecord(card,stream)) {
cae_server->sendCommand(id,QString::asprintf("SR %u %u +!",card,stream));
}
else {
cae_server->sendCommand(id,QString::asprintf("SR %u %u -!",card,stream));
return;
}