mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-26 15:20:29 +01:00
2018-06-12 Fred Gleason <fredg@paravelsystems.com>
* Added a 'card-num' parameter to the 'Meter Enable' ['ME'] command in caed(8). * Added an 'RDCae::enableMetering()' method. * Modified rdairplay(1) to enable metering explicitly. * Modified rdcartslots(1) to enable metering explicitly. * Modified rdlibrary(1) to enable metering explicitly. * Modified rdpanel(1) to enable metering explicitly.
This commit is contained in:
@@ -145,6 +145,8 @@ MainWidget::MainWidget(QWidget *parent)
|
||||
//
|
||||
// CAE Connection
|
||||
//
|
||||
connect(rda->cae(),SIGNAL(isConnected(bool)),
|
||||
this,SLOT(caeConnectedData(bool)));
|
||||
rda->cae()->connectHost();
|
||||
|
||||
//
|
||||
@@ -342,6 +344,19 @@ QSizePolicy MainWidget::sizePolicy() const
|
||||
}
|
||||
|
||||
|
||||
void MainWidget::caeConnectedData(bool state)
|
||||
{
|
||||
std::vector<int> cards;
|
||||
|
||||
cards.push_back(rda->airplayConf()->card(RDAirPlayConf::SoundPanel1Channel));
|
||||
cards.push_back(rda->airplayConf()->card(RDAirPlayConf::SoundPanel2Channel));
|
||||
cards.push_back(rda->airplayConf()->card(RDAirPlayConf::SoundPanel3Channel));
|
||||
cards.push_back(rda->airplayConf()->card(RDAirPlayConf::SoundPanel4Channel));
|
||||
cards.push_back(rda->airplayConf()->card(RDAirPlayConf::SoundPanel5Channel));
|
||||
rda->cae()->enableMetering(&cards);
|
||||
}
|
||||
|
||||
|
||||
void MainWidget::userData()
|
||||
{
|
||||
SetCaption();
|
||||
|
||||
@@ -49,6 +49,7 @@ class MainWidget : public QWidget
|
||||
QSizePolicy sizePolicy() const;
|
||||
|
||||
private slots:
|
||||
void caeConnectedData(bool state);
|
||||
void userData();
|
||||
void masterTimerData();
|
||||
void meterData();
|
||||
|
||||
Reference in New Issue
Block a user