2021-08-20 Fred Gleason <fredg@paravelsystems.com>

* Removed vestigal JACK dependencies from the core caed(8) code.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-08-20 10:29:26 -04:00
parent 7f1d18ae62
commit a5625544e4
3 changed files with 2 additions and 24 deletions

View File

@@ -51,11 +51,6 @@
#include "driver_jack.h"
volatile bool exiting=false;
#ifdef JACK
extern jack_client_t *jack_client;
#endif // JACK
#define PRINT_COMMANDS
#ifndef HAVE_SRC_CONV
void src_int_to_float_array (const int *in, float *out, int len)
@@ -144,9 +139,6 @@ MainObject::MainObject(QObject *parent)
#endif // HAVE_MAD
}
}
#ifdef JACK
jack_client=NULL;
#endif // JACK
//
// Server Front End
@@ -282,13 +274,6 @@ MainObject::MainObject(QObject *parent)
struct sched_param sched_params;
int result = 0;
memset(&sched_params,0,sizeof(struct sched_param));
#ifdef JACK
if(jack_client!=NULL) {
pthread_getschedparam(jack_client_thread_id(jack_client),&sched_policy,
&sched_params);
jack_running=true;
}
#endif // JACK
if(rda->config()->useRealtime()) {
if(!jack_running) {
sched_params.sched_priority=rda->config()->realtimePriority();

View File

@@ -34,10 +34,6 @@
#include <rdwavefile.h>
#ifdef JACK
#include <jack/jack.h>
#endif // JACK
#ifdef HAVE_TWOLAME
#include <twolame.h>
#endif // HAVE_TWOLAME
@@ -57,11 +53,6 @@ void src_int_to_float_array (const int *in, float *out, int len);
void src_float_to_int_array (const float *in, int *out, int len);
#endif // HAVE_SRC_CONV
//
// Debug Options
//
//#define PRINT_COMMANDS
//
// Global CAE Definitions
//