mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 08:31:16 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user