1
0
mirror of https://github.com/ElvishArtisan/rivendell.git synced 2025-05-07 23:32:57 +02:00

2018-05-31 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdcatchd(8) that caused Upload events to
	be generated with the incorrect sample rate.
This commit is contained in:
Fred Gleason 2018-05-31 17:32:06 +00:00
parent b64c6c377d
commit 42ccd6c3be
2 changed files with 4 additions and 1 deletions

@ -16995,3 +16995,6 @@
2018-05-31 Patrick Linstruth <patrick@deltecent.com> 2018-05-31 Patrick Linstruth <patrick@deltecent.com>
* Implemented purging of STACK_* tables for RDMaint(1) in * Implemented purging of STACK_* tables for RDMaint(1) in
'utils/rdmaint/rdmaint.cpp' and 'utils/rdmaint/rdmaint.h'. 'utils/rdmaint/rdmaint.cpp' and 'utils/rdmaint/rdmaint.h'.
2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatchd(8) that caused Upload events to
be generated with the incorrect sample rate.

@ -2019,7 +2019,7 @@ void MainObject::LoadEvent(RDSqlQuery *q,CatchEvent *e,bool add)
break; break;
} }
e->setChannels(q->value(20).toInt()); e->setChannels(q->value(20).toInt());
e->setSampleRate(rda->system()->sampleRate()); e->setSampleRate(q->value(21).toUInt());
e->setBitrate(q->value(22).toInt()); e->setBitrate(q->value(22).toInt());
e->setMacroCart(q->value(23).toInt()); e->setMacroCart(q->value(23).toInt());
e->setSwitchInput(q->value(24).toInt()); e->setSwitchInput(q->value(24).toInt());