2022-11-15 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdcatchd(8) that caused record events to be
	captured with the incorrect sampling rate.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-11-15 14:55:04 -05:00
parent 96de66481b
commit 1b38ed8ea8
3 changed files with 8 additions and 4 deletions

View File

@@ -222,7 +222,7 @@ void RDCae::loadRecord(int card,int stream,QString name,
int bit_rate)
{
// printf("RDCae::loadRecord(%d,%d,%s,%d,%d,%d,%d)\n",
// card,stream,(const char *)name,coding,chan,samp_rate,bit_rate);
// card,stream,(const char *)name,coding,chan,samp_rate,bit_rate);
SendCommand(QString().sprintf("LR %d %d %d %d %d %d %s!",
card,stream,(int)coding,chan,samp_rate,
bit_rate,(const char *)name));