2019-08-06 Fred Gleason <fredg@paravelsystems.com>

* Refactored ripcd(8) to manage JACK port [dis]connections directly,
	rather than by delegation to caed(8).
This commit is contained in:
Fred Gleason
2019-08-06 19:54:38 -04:00
parent 102623e63b
commit 37da80e1c3
13 changed files with 188 additions and 148 deletions

View File

@@ -222,14 +222,6 @@ MainObject::MainObject(QObject *parent,const char *name)
this,
SLOT(openRtpCaptureChannelData(int,unsigned,unsigned,uint16_t,
unsigned,unsigned)));
connect(cae_server,
SIGNAL(jackConnectPortsReq(int,const QString &,const QString &)),
this,
SLOT(jackConnectPortsData(int,const QString &,const QString &)));
connect(cae_server,
SIGNAL(jackDisconnectPortsReq(int,const QString &,const QString &)),
this,
SLOT(jackDisconnectPortsData(int,const QString &,const QString &)));
connect(cae_server,
SIGNAL(meterEnableReq(int,uint16_t,const QList<unsigned> &)),
this,
@@ -1424,20 +1416,6 @@ void MainObject::openRtpCaptureChannelData(int id,unsigned card,unsigned port,
}
void MainObject::jackConnectPortsData(int id,const QString &out_name,
const QString &in_name)
{
jackConnectPorts(out_name,in_name);
}
void MainObject::jackDisconnectPortsData(int id,const QString &out_name,
const QString &in_name)
{
jackDisconnectPorts(out_name,in_name);
}
void MainObject::meterEnableData(int id,uint16_t udp_port,
const QList<unsigned> &cards)
{