diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-11-24 09:47:45 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-11-24 09:47:45 +0100 |
commit | 4cca632532d3e315d68768e00549ac2047232e55 (patch) | |
tree | 6878a4d5db926f0ead83de116dfef2a82ebe90ab /common.h | |
parent | 50d95edfafa3d17ef3740831408017df60d6534f (diff) | |
download | toolame-dab-4cca632532d3e315d68768e00549ac2047232e55.tar.gz toolame-dab-4cca632532d3e315d68768e00549ac2047232e55.tar.bz2 toolame-dab-4cca632532d3e315d68768e00549ac2047232e55.zip |
Improve compilation without JACK
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -89,7 +89,9 @@ #include <stdio.h> #include <stdlib.h> -#include <jack/jack.h> +#if defined(JACK_INPUT) +# include <jack/jack.h> +#endif /* Structure for Reading Layer II Allocation Tables from File */ @@ -169,8 +171,10 @@ typedef struct music_in_s /* Data for the wav input */ FILE* wav_input; +#if defined(JACK_INPUT) /* Data for the jack input */ jack_client_t* jack_client; +#endif const char* jack_name; } music_in_t; |