mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2024-11-30 16:01:51 +00:00
Fix C90 build
This commit is contained in:
parent
757b151601
commit
2acb068075
1 changed files with 3 additions and 2 deletions
|
@ -582,7 +582,7 @@ fluid_event_system_reset(fluid_event_t *evt)
|
||||||
* Transforms an incoming MIDI event (from a MIDI driver or MIDI router) to a
|
* Transforms an incoming MIDI event (from a MIDI driver or MIDI router) to a
|
||||||
* sequencer event.
|
* sequencer event.
|
||||||
*
|
*
|
||||||
* @param evt returned sequencer event
|
* @param evt Sequencer event structure
|
||||||
* @param event MIDI event
|
* @param event MIDI event
|
||||||
* @return #FLUID_OK or #FLUID_FAILED
|
* @return #FLUID_OK or #FLUID_FAILED
|
||||||
*
|
*
|
||||||
|
@ -606,9 +606,10 @@ fluid_event_system_reset(fluid_event_t *evt)
|
||||||
*/
|
*/
|
||||||
int fluid_event_from_midi_event(fluid_event_t *evt, const fluid_midi_event_t *event)
|
int fluid_event_from_midi_event(fluid_event_t *evt, const fluid_midi_event_t *event)
|
||||||
{
|
{
|
||||||
|
int chan;
|
||||||
fluid_return_val_if_fail(event != NULL, FLUID_FAILED);
|
fluid_return_val_if_fail(event != NULL, FLUID_FAILED);
|
||||||
|
|
||||||
int chan = fluid_midi_event_get_channel(event);
|
chan = fluid_midi_event_get_channel(event);
|
||||||
|
|
||||||
switch (fluid_midi_event_get_type(event))
|
switch (fluid_midi_event_get_type(event))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue