remove fluid_synth_set_midi_router()

only needed by shell command handler previously
This commit is contained in:
derselbst 2017-10-04 14:30:46 +02:00
parent f4a3c7302e
commit 23d15db8fa
2 changed files with 0 additions and 18 deletions

View File

@ -4953,23 +4953,6 @@ fluid_synth_get_gen(fluid_synth_t* synth, int chan, int param)
FLUID_API_RETURN(result);
}
/**
* Assign a MIDI router to a synth.
* @param synth FluidSynth instance
* @param router MIDI router to assign to the synth
*
* @note This should only be done once and prior to using the synth.
*/
void
fluid_synth_set_midi_router(fluid_synth_t* synth, fluid_midi_router_t* router)
{
fluid_return_if_fail (synth != NULL);
fluid_synth_api_enter(synth);
synth->midi_router = router;
fluid_synth_api_exit(synth);
};
/**
* Handle MIDI event from MIDI router, used as a callback function.
* @param data FluidSynth instance

View File

@ -162,7 +162,6 @@ struct _fluid_synth_t
fluid_tuning_t*** tuning; /**< 128 banks of 128 programs for the tunings */
fluid_private_t tuning_iter; /**< Tuning iterators per each thread */
fluid_midi_router_t* midi_router; /**< The midi router. Could be done nicer. */
fluid_sample_timer_t* sample_timers; /**< List of timers triggered before a block is processed */
unsigned int min_note_length_ticks; /**< If note-offs are triggered just after a note-on, they will be delayed */