Remove unused _fluid_midi_router_t::synth

This commit is contained in:
derselbst 2017-11-15 10:52:12 +01:00
parent 08ba48712d
commit bbc6a6098a

View file

@ -32,8 +32,6 @@
* fluid_midi_router
*/
struct _fluid_midi_router_t {
fluid_synth_t* synth;
fluid_mutex_t rules_mutex;
fluid_midi_router_rule_t *rules[FLUID_MIDI_ROUTER_RULE_COUNT]; /* List of rules for each rule type */
fluid_midi_router_rule_t *free_rules; /* List of rules to free (was waiting for final events which were received) */
@ -100,8 +98,7 @@ new_fluid_midi_router(fluid_settings_t *settings, handle_midi_event_func_t handl
fluid_settings_getint(settings, "synth.midi-channels", &router->nr_midi_channels);
fluid_mutex_init (router->rules_mutex);
router->synth = (fluid_synth_t *)event_handler_data;
router->event_handler = handler;
router->event_handler_data = event_handler_data;