2022-04-21 Fred Gleason <fredg@paravelsystems.com>

* Removed dead code from rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2022-04-21 13:27:49 -04:00
parent d44e932fe3
commit 037b8b9fe5
2 changed files with 3 additions and 16 deletions

View File

@@ -22991,3 +22991,5 @@
* Fixed bug in the RDCatch subsystem that caused audio format * Fixed bug in the RDCatch subsystem that caused audio format
parameters to be confounded between uploaded and audio store parameters to be confounded between uploaded and audio store
files. files.
2022-04-21 Fred Gleason <fredg@paravelsystems.com>
* Removed dead code from rdadmin(1).

View File

@@ -2,7 +2,7 @@
// //
// Edit a Rivendell RDCatch Deck Configuration // Edit a Rivendell RDCatch Deck Configuration
// //
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as // it under the terms of the GNU General Public License version 2 as
@@ -729,21 +729,6 @@ void EditDecks::WriteRecord(int chan)
edit_record_deck->setDefaultMonitorOn(true); edit_record_deck->setDefaultMonitorOn(true);
} }
} }
/*
switch(edit_format_box->currentIndex()) {
case 0:
edit_record_deck->setDefaultFormat(RDSettings::Pcm16);
break;
case 1:
edit_record_deck->setDefaultFormat(RDSettings::Pcm24);
break;
case 2:
edit_record_deck->setDefaultFormat(RDSettings::MpegL2);
break;
}
*/
edit_record_deck-> edit_record_deck->
setDefaultFormat((RDCae::AudioCoding)edit_format_box-> setDefaultFormat((RDCae::AudioCoding)edit_format_box->
itemData(edit_format_box->currentIndex()).toInt()); itemData(edit_format_box->currentIndex()).toInt());