fluidsynth.c
changeset 532 b8e8ae4852b2
parent 521 565549e046b0
child 542 3de4970b36d4
     1.1 --- a/fluidsynth.c	Sun Jan 01 14:23:22 2012 -0500
     1.2 +++ b/fluidsynth.c	Sun Jan 01 14:40:22 2012 -0500
     1.3 @@ -22,11 +22,14 @@
     1.4    chewi@aura-online.co.uk
     1.5  */
     1.6  
     1.7 -#include "fluidsynth.h"
     1.8 -#include "SDL_mixer.h"
     1.9 +#ifdef USE_FLUIDSYNTH_MIDI
    1.10 +
    1.11  #include <stdio.h>
    1.12  #include <sys/types.h>
    1.13  
    1.14 +#include "SDL_mixer.h"
    1.15 +#include "fluidsynth.h"
    1.16 +
    1.17  static Uint16 format;
    1.18  static Uint8 channels;
    1.19  static int freq;
    1.20 @@ -228,3 +231,5 @@
    1.21  
    1.22  	return result;
    1.23  }
    1.24 +
    1.25 +#endif /* USE_FLUIDSYNTH_MIDI */