Browse Source

fluidsynth: implement system reset message

(Note that we have no demux capable of generating this. This one message
 cannot be found in Standard MIDI File.)
pull/2/head
Rémi Denis-Courmont 16 years ago
parent
commit
e453dbc30d
  1. 3
      modules/codec/fluidsynth.c

3
modules/codec/fluidsynth.c

@ -196,6 +196,9 @@ static aout_buffer_t *DecodeBlock (decoder_t *p_dec, block_t **pp_block)
fluid_synth_sysex (p_sys->synth, (char *)p_block->p_buffer + 1,
p_block->i_buffer - 2, NULL, NULL, NULL, 0);
break;
case 0xF:
fluid_synth_system_reset (p_sys->synth);
break;
}
uint8_t p1 = (p_block->i_buffer > 1) ? (p_block->p_buffer[1] & 0x7f) : 0;

Loading…
Cancel
Save