Commit e453dbc3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

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.)
parent 05fbe17a
...@@ -196,6 +196,9 @@ static aout_buffer_t *DecodeBlock (decoder_t *p_dec, block_t **pp_block) ...@@ -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, fluid_synth_sysex (p_sys->synth, (char *)p_block->p_buffer + 1,
p_block->i_buffer - 2, NULL, NULL, NULL, 0); p_block->i_buffer - 2, NULL, NULL, NULL, 0);
break; 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; uint8_t p1 = (p_block->i_buffer > 1) ? (p_block->p_buffer[1] & 0x7f) : 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment