summaryrefslogtreecommitdiff
path: root/synth/jack.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@thinkpad.(none)>2010-12-29 16:55:25 +0100
committerFlorian Jung <flo@thinkpad.(none)>2010-12-29 16:55:25 +0100
commit7113f02ae87482211aec5046f9ac46c3cc9ad017 (patch)
treeb6484b45317e7e80567d9902cf94843d227ce30e /synth/jack.h
Initial commit
Diffstat (limited to 'synth/jack.h')
-rw-r--r--synth/jack.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/synth/jack.h b/synth/jack.h
new file mode 100644
index 0000000..c0b4baa
--- /dev/null
+++ b/synth/jack.h
@@ -0,0 +1,12 @@
+#ifndef __JACK_H__FLO
+#define __JACK_H__FLO
+
+#include <jack/jack.h>
+
+int process_callback(jack_nframes_t nframes, void *notused);
+int xrun_callback(void *notused);
+void init_jack();
+void start_jack(bool connect_audio_out=true, bool connect_midi_in=true);
+void exit_jack();
+
+#endif