aboutsummaryrefslogtreecommitdiff
path: root/utils/vlc_codec
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2018-03-26 11:13:25 +0300
committerWohlstand <admin@wohlnet.ru>2018-03-26 11:13:25 +0300
commitfa584e5c732fd7c6060384572145d2de5dbfc229 (patch)
treef2e20154bf2eeddc6071e42ceb0bb4621edd7804 /utils/vlc_codec
parent04ab4c1bcf65870cbe34b405a181a4246bcd91e8 (diff)
downloadlibADLMIDI-fa584e5c732fd7c6060384572145d2de5dbfc229.tar.gz
libADLMIDI-fa584e5c732fd7c6060384572145d2de5dbfc229.tar.bz2
libADLMIDI-fa584e5c732fd7c6060384572145d2de5dbfc229.zip
VLC Codec: Fix the pitch event passing
Diffstat (limited to 'utils/vlc_codec')
-rw-r--r--utils/vlc_codec/libadlmidi.c2
1 files changed, 1 insertions, 1 deletions
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;
}