}
}
-
void *engine_thread_entry(void *engine_void) {
tX_engine *engine=(tX_engine*) engine_void;
int result;
}
}
+#ifdef USE_JACK
+ /* Create the client now, so the user has something to connect to. */
+ tX_jack_client *jack_client=tX_jack_client::get_instance();
+#endif
+
engine->loop();
tX_debug("engine_thread_entry() - Engine thread terminating.");
result=pthread_create(&thread, &pattr, engine_thread_entry, (void *) this);
} else {
- tX_debug("tX_engine() - Lacking root privileges - no realtime scheduling!");
+ tX_debug("tX_engine() - Lacking root privileges - no realtime scheduling.");
#endif
result=pthread_create(&thread, NULL, engine_thread_entry, (void *) this);
#ifdef USE_SCHEDULER
device=new tX_audiodevice_alsa();
break;
#endif
+
+#ifdef USE_JACK
+ case JACK:
+ device=new tX_audiodevice_jack();
+ break;
+#endif
default:
device=NULL; return ERROR_AUDIO;