mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-10 15:01:40 +00:00
Remove unused _fluid_midi_router_t::synth
This commit is contained in:
parent
08ba48712d
commit
bbc6a6098a
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue