From fa584e5c732fd7c6060384572145d2de5dbfc229 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Mon, 26 Mar 2018 11:13:25 +0300 Subject: VLC Codec: Fix the pitch event passing --- utils/vlc_codec/libadlmidi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/vlc_codec/libadlmidi.c') diff --git a/utils/vlc_codec/libadlmidi.c b/utils/vlc_codec/libadlmidi.c index a345e7b..e4aabe0 100644 --- a/utils/vlc_codec/libadlmidi.c +++ b/utils/vlc_codec/libadlmidi.c @@ -244,7 +244,7 @@ static block_t *DecodeBlock (decoder_t *p_dec, block_t **pp_block) adl_rt_channelAfterTouch(p_sys->synth, channel, p1); break; case 0xE0: - adl_rt_pitchBendML(p_sys->synth, channel, p2, p2); + adl_rt_pitchBendML(p_sys->synth, channel, p2, p1); break; } -- cgit v1.2.3