Commit 367a128e 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.)
(cherry picked from commit e453dbc30d947cb65a57c50a097dad3ea00f285f)
parent 238e0a22
......@@ -203,6 +203,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;
......
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