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:
Fred Gleason
2021-12-28 09:00:45 -05:00
parent 8ae2c2bacb
commit 884f327050
5 changed files with 8 additions and 12 deletions

View File

@@ -1052,6 +1052,7 @@ bool DriverAlsa::stopRecord(int card,int port)
return false;
}
alsa_recording[card][port]=false;
stateRecordUpdate(card,port,2);
return true;
#else
return false;
@@ -1386,7 +1387,6 @@ void DriverAlsa::recordTimerData(int cardport)
int stream=cardport-card*RD_MAX_PORTS;
stopRecord(card,stream);
stateRecordUpdate(card,stream,2);
#endif // ALSA
}