mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 08:31:16 +02:00
2021-08-19 Fred Gleason <fredg@paravelsystems.com>
* Refactored the JACK driver in caed(8) to use virtual inheritance. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
16
cae/cae.cpp
16
cae/cae.cpp
@@ -49,7 +49,6 @@
|
||||
#include "cae.h"
|
||||
|
||||
volatile bool exiting=false;
|
||||
//RDConfig *rd_config;
|
||||
#ifdef JACK
|
||||
extern jack_client_t *jack_client;
|
||||
#endif // JACK
|
||||
@@ -281,6 +280,21 @@ MainObject::MainObject(QObject *parent)
|
||||
delete dvr;
|
||||
}
|
||||
|
||||
//
|
||||
// JACK Devices
|
||||
//
|
||||
dvr=CaeDriverFactory(RDStation::Jack,this);
|
||||
if(dvr->initialize(&next_card)) {
|
||||
connect(dvr,SIGNAL(playStateChanged(int,int,int)),
|
||||
this,SLOT(statePlayUpdate(int,int,int)));
|
||||
connect(dvr,SIGNAL(recordStateChanged(int,int,int)),
|
||||
this,SLOT(stateRecordUpdate(int,int,int)));
|
||||
d_drivers.push_back(dvr);
|
||||
}
|
||||
else {
|
||||
delete dvr;
|
||||
}
|
||||
|
||||
//
|
||||
// Probe Capabilities
|
||||
//
|
||||
|
Reference in New Issue
Block a user