fluidsynth.c
changeset 545 32e5ed415a34
parent 542 3de4970b36d4
child 561 87bdb4c81c0b
     1.1 --- a/fluidsynth.c	Wed Jan 04 01:09:57 2012 -0500
     1.2 +++ b/fluidsynth.c	Wed Jan 04 01:41:10 2012 -0500
     1.3 @@ -71,6 +71,10 @@
     1.4  	FluidSynthMidiSong *song;
     1.5  	fluid_settings_t *settings = NULL;
     1.6  
     1.7 +	if (!Mix_Init(MIX_INIT_FLUIDSYNTH)) {
     1.8 +		return NULL;
     1.9 +	}
    1.10 +
    1.11  	if ((song = malloc(sizeof(FluidSynthMidiSong)))) {
    1.12  		memset(song, 0, sizeof(FluidSynthMidiSong));
    1.13