aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-06-22 23:39:30 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-06-22 23:39:30 +0300
commit9c69b10a7a7e7de196db45ab8f39e8be014e2fba (patch)
tree1ec5a2991af8ee08619a9765d3d516f88bdb09ba /utils
parentb12d83a20db8c3b7bcf5d94d0ae19ab28df3ca82 (diff)
parentde7550a4cc643b37449eb791f09b625bf1af17fb (diff)
downloadlibADLMIDI-9c69b10a7a7e7de196db45ab8f39e8be014e2fba.tar.gz
libADLMIDI-9c69b10a7a7e7de196db45ab8f39e8be014e2fba.tar.bz2
libADLMIDI-9c69b10a7a7e7de196db45ab8f39e8be014e2fba.zip
Merge SysEx support branch and now we have experimental SysEx support!
Diffstat (limited to 'utils')
-rw-r--r--utils/vlc_codec/libadlmidi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/vlc_codec/libadlmidi.c b/utils/vlc_codec/libadlmidi.c
index efc2bb8..24a519e 100644
--- a/utils/vlc_codec/libadlmidi.c
+++ b/utils/vlc_codec/libadlmidi.c
@@ -257,8 +257,9 @@ static block_t *DecodeBlock (decoder_t *p_dec, block_t **pp_block)
msg_Warn (p_dec, "fragmented SysEx not implemented");
goto drop;
}
- //fluid_synth_sysex (p_sys->synth, (char *)p_block->p_buffer + 1,
- // p_block->i_buffer - 2, NULL, NULL, NULL, 0);
+ adl_rt_systemExclusive(p_sys->synth,
+ (const ADL_UInt8 *)p_block->p_buffer + 1,
+ p_block->i_buffer - 2);
break;
case 0xF:
adl_rt_resetState(p_sys->synth);