2018-07-17 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdadmin(1) that caused the Audio Resources list
	to be mal-formatted.
	* Fixed a bug in rdcatch(1) that caused Record and Playout events
	to be saved to the incorrect Location.
This commit is contained in:
Fred Gleason
2018-07-17 18:57:07 +00:00
parent 1ad82fc6a5
commit 291dfc4d06
6 changed files with 66 additions and 38 deletions

View File

@@ -124,11 +124,11 @@ ViewAdapters::ViewAdapters(RDStation *rdstation,QWidget *parent)
for(int i=0;i<RD_MAX_CARDS;i++) {
if(rdstation->cardName(i).isEmpty()) {
text+=QString(" ")+tr("Card")+QString().sprintf(" %d: ",i)+
tr("Not present");
tr("Not present")+"\n";
}
else {
text+=QString(" ")+tr("Card")+QString().sprintf(" %d: ",i)+
rdstation->cardName(i);
rdstation->cardName(i)+"\n";
switch(rdstation->cardDriver(i)) {
case RDStation::Hpi:
text+=tr(" Driver: AudioScience HPI\n");
@@ -151,6 +151,7 @@ ViewAdapters::ViewAdapters(RDStation *rdstation,QWidget *parent)
text+=QString(" ")+tr("Outputs")+
QString().sprintf(" %d\n",rdstation->cardOutputs(i));
}
text+="\n";
}
}
else {