2023-12-18 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in the 'Cut Info / Record' dialog in
	rdlibrary(1) that caused the audio meter to fail to be zeroed
	when resetting from record ready.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2023-12-18 12:26:30 -05:00
parent f73c7e5d4c
commit 9e112b433f
2 changed files with 7 additions and 3 deletions

View File

@ -24570,3 +24570,7 @@
2023-12-18 Fred Gleason <fredg@paravelsystems.com> 2023-12-18 Fred Gleason <fredg@paravelsystems.com>
* Fixed regressions in 'RDCae' and the HPI driver in caed(8) * Fixed regressions in 'RDCae' and the HPI driver in caed(8)
that caused the length of audio captures to be reported incorrectly. that caused the length of audio captures to be reported incorrectly.
2023-12-18 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the 'Cut Info / Record' dialog in
rdlibrary(1) that caused the audio meter to fail to be zeroed
when resetting from record ready.

View File

@ -736,7 +736,7 @@ void RecordCut::playStoppedData(unsigned serial)
is_recording=false; is_recording=false;
rec_meter->setLeftSolidBar(-10000); rec_meter->setLeftSolidBar(-10000);
rec_meter->setRightSolidBar(-10000); rec_meter->setRightSolidBar(-10000);
if(is_closing) { if(is_closing) {
is_closing=false; is_closing=false;
closeData(); closeData();
} }
@ -745,13 +745,14 @@ void RecordCut::playStoppedData(unsigned serial)
void RecordCut::recordStoppedData(int card,int stream) void RecordCut::recordStoppedData(int card,int stream)
{ {
//printf("recordStoppedData()\n");
rda->cae()->unloadRecord(rec_card_no[0],rec_port_no[0]); rda->cae()->unloadRecord(rec_card_no[0],rec_port_no[0]);
rec_timer->stop(); rec_timer->stop();
rec_play_button->off(); rec_play_button->off();
rec_stop_button->on(); rec_stop_button->on();
rec_record_button->off(); rec_record_button->off();
rec_meter->resetClipLight(); rec_meter->resetClipLight();
rec_meter->setLeftSolidBar(-10000);
rec_meter->setRightSolidBar(-10000);
is_playing=false; is_playing=false;
is_recording=false; is_recording=false;
} }
@ -759,7 +760,6 @@ void RecordCut::recordStoppedData(int card,int stream)
void RecordCut::recordUnloadedData(int card,int stream,unsigned len) void RecordCut::recordUnloadedData(int card,int stream,unsigned len)
{ {
//printf("recordUnloadedData(%d,%d,%u)\n",card,stream,len);
QString filename; QString filename;
rec_meter->setLeftSolidBar(-100000); rec_meter->setLeftSolidBar(-100000);