aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-08-15 21:27:30 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-08-15 21:27:30 +0200
commit10c98b106dbb7ee90aca745c7c100a43f80fa01e (patch)
tree1be45f9a15486e12813729a81e83d32d35578439 /common.h
parentbad1162b921d3c65390ce64c436fa82aaf9ad7c5 (diff)
downloadtoolame-dab-10c98b106dbb7ee90aca745c7c100a43f80fa01e.tar.gz
toolame-dab-10c98b106dbb7ee90aca745c7c100a43f80fa01e.tar.bz2
toolame-dab-10c98b106dbb7ee90aca745c7c100a43f80fa01e.zip
Port JACK patch to this toolame
Diffstat (limited to 'common.h')
-rw-r--r--common.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/common.h b/common.h
index aa50c4f..36d65a1 100644
--- a/common.h
+++ b/common.h
@@ -89,6 +89,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <jack/jack.h>
/* Structure for Reading Layer II Allocation Tables from File */
@@ -162,6 +163,17 @@ enum byte_order
{ order_unknown, order_bigEndian, order_littleEndian };
extern enum byte_order NativeByteOrder;
+
+typedef struct music_in_s
+{
+ /* Data for the wav input */
+ FILE* wav_input;
+
+ /* Data for the jack input */
+ jack_client_t* jack_client;
+ const char* jack_name;
+} music_in_t;
+
/* "bit_stream.h" Type Definitions */