mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-14 22:51:13 +02:00
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:
@@ -1370,28 +1370,6 @@ bool MainObject::jackSetPassthroughLevel(int card,int in_port,int out_port,
|
||||
}
|
||||
|
||||
|
||||
void MainObject::jackConnectPorts(const QString &out,const QString &in)
|
||||
{
|
||||
#ifdef JACK
|
||||
if(jack_card<0) {
|
||||
return;
|
||||
}
|
||||
jack_connect(jack_client,(const char *)in,(const char *)out);
|
||||
#endif // JACK
|
||||
}
|
||||
|
||||
|
||||
void MainObject::jackDisconnectPorts(const QString &out,const QString &in)
|
||||
{
|
||||
#ifdef JACK
|
||||
if(jack_card<0) {
|
||||
return;
|
||||
}
|
||||
jack_disconnect(jack_client,(const char *)in,(const char *)out);
|
||||
#endif // JACK
|
||||
}
|
||||
|
||||
|
||||
int MainObject::GetJackOutputStream()
|
||||
{
|
||||
#ifdef JACK
|
||||
|
Reference in New Issue
Block a user