mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-06-08 16:12:33 +02:00
Merge pull request #224 from deltecent/master
Fix audio level meters in RDLogedit voice tracker
This commit is contained in:
commit
59472798b6
@ -17536,3 +17536,5 @@
|
|||||||
2018-08-28 Fred Gleason <fredg@paravelsystems.com>
|
2018-08-28 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a regression that caused the RDXport service to throw
|
* Fixed a regression that caused the RDXport service to throw
|
||||||
a segfault when importing audio.
|
a segfault when importing audio.
|
||||||
|
2018-08-28 Patrick Linstruth <patrick@deltecent.com>
|
||||||
|
* Fixed a regression in rdlogedit(1) that broke audio level meters.
|
||||||
|
@ -117,6 +117,8 @@ MainWidget::MainWidget(QWidget *parent)
|
|||||||
// CAE Connection
|
// CAE Connection
|
||||||
//
|
//
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
|
connect(rda->cae(),SIGNAL(isConnected(bool)),
|
||||||
|
this,SLOT(caeConnectedData(bool)));
|
||||||
rda->cae()->connectHost();
|
rda->cae()->connectHost();
|
||||||
#endif // WIN32
|
#endif // WIN32
|
||||||
|
|
||||||
@ -292,6 +294,15 @@ void MainWidget::connectedData(bool state)
|
|||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void MainWidget::caeConnectedData(bool state)
|
||||||
|
{
|
||||||
|
std::vector<int> cards;
|
||||||
|
RDLogeditConf *conf=new RDLogeditConf(rda->config()->stationName());
|
||||||
|
|
||||||
|
cards.push_back(conf->inputCard());
|
||||||
|
cards.push_back(conf->outputCard());
|
||||||
|
rda->cae()->enableMetering(&cards);
|
||||||
|
}
|
||||||
|
|
||||||
void MainWidget::userData()
|
void MainWidget::userData()
|
||||||
{
|
{
|
||||||
|
@ -53,6 +53,7 @@ class MainWidget : public QWidget
|
|||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void connectedData(bool state);
|
void connectedData(bool state);
|
||||||
|
void caeConnectedData(bool state);
|
||||||
void userData();
|
void userData();
|
||||||
void recentData(bool state);
|
void recentData(bool state);
|
||||||
void addData();
|
void addData();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user