mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 08:31:16 +02:00
2021-12-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in caed(8) that broke audio capture under ALSA and JACK. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -634,15 +634,11 @@ 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)) {
|
||||
cae_server->sendCommand(id,QString::asprintf("SR %u %u +!",card,stream));
|
||||
}
|
||||
else {
|
||||
if(!dvr->stopRecord(card,stream)) { // No positive echo required here!
|
||||
cae_server->sendCommand(id,QString::asprintf("SR %u %u -!",card,stream));
|
||||
return;
|
||||
}
|
||||
rda->syslog(LOG_INFO,
|
||||
"StopRecord - Card: %d Stream: %d",card,stream);
|
||||
rda->syslog(LOG_INFO,"StopRecord - Card: %d Stream: %d",card,stream);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user