strip down libfluidsynth a bit more
This commit is contained in:
parent
b424270208
commit
8a3b246bb3
@ -34,7 +34,7 @@ static int fluid_midi_event_length(unsigned char event);
|
||||
static char* fluid_file_read_full(fluid_file fp, size_t* length);
|
||||
#define READ_FULL_INITIAL_BUFLEN 1024
|
||||
|
||||
|
||||
#if 0 // disable file I/O with Ardour
|
||||
/***************************************************************
|
||||
*
|
||||
* MIDIFILE
|
||||
@ -760,6 +760,7 @@ fluid_midi_file_get_division(fluid_midi_file *midifile)
|
||||
{
|
||||
return midifile->division;
|
||||
}
|
||||
#endif
|
||||
|
||||
/******************************************************
|
||||
*
|
||||
@ -1030,7 +1031,7 @@ fluid_midi_event_set_sysex(fluid_midi_event_t *evt, void *data, int size, int dy
|
||||
*
|
||||
* fluid_track_t
|
||||
*/
|
||||
|
||||
#if 0 // disable fluid file player in Ardour
|
||||
/*
|
||||
* new_fluid_track
|
||||
*/
|
||||
@ -1115,7 +1116,6 @@ fluid_track_get_duration(fluid_track_t *track)
|
||||
return time;
|
||||
}
|
||||
|
||||
#if 0
|
||||
/*
|
||||
* fluid_track_count_events
|
||||
*/
|
||||
@ -1133,7 +1133,6 @@ fluid_track_count_events(fluid_track_t *track, int *on, int *off)
|
||||
}
|
||||
return FLUID_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* fluid_track_add_event
|
||||
@ -1940,3 +1939,4 @@ fluid_midi_event_length(unsigned char event)
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
@ -29,7 +29,7 @@
|
||||
#define SYNTH_REVERB_CHANNEL 0
|
||||
#define SYNTH_CHORUS_CHANNEL 1
|
||||
|
||||
#define ENABLE_MIXER_THREADS 1
|
||||
#undef ENABLE_MIXER_THREADS // Ardour does the multithreading -- synth.cpu-cores defaults to 1
|
||||
|
||||
// If less than x voices, the thread overhead is larger than the gain,
|
||||
// so don't activate the thread(s).
|
||||
|
@ -294,9 +294,9 @@ fluid_settings_init(fluid_settings_t* settings)
|
||||
fluid_return_if_fail (settings != NULL);
|
||||
|
||||
fluid_synth_settings(settings);
|
||||
//fluid_shell_settings(settings);
|
||||
fluid_player_settings(settings);
|
||||
#if 0
|
||||
fluid_shell_settings(settings);
|
||||
fluid_player_settings(settings);
|
||||
fluid_file_renderer_settings(settings);
|
||||
fluid_audio_driver_settings(settings);
|
||||
fluid_midi_driver_settings(settings);
|
||||
|
@ -950,6 +950,7 @@ fluid_ostream_printf (fluid_ostream_t out, char* format, ...)
|
||||
#endif
|
||||
}
|
||||
|
||||
#if 0 // Ardour says: no, thanks
|
||||
int fluid_server_socket_join(fluid_server_socket_t *server_socket)
|
||||
{
|
||||
return fluid_thread_join (server_socket->thread);
|
||||
@ -1294,3 +1295,4 @@ int delete_fluid_server_socket(fluid_server_socket_t *server_socket)
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user