From cfb96e9ef563e4cf39350b5b8721f4b5b70585d2 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Sat, 16 Dec 2017 20:36:41 +0300 Subject: Added experimental VLC plugin Plugin is made for VLC 2.2.2 Weatherwax (pre-installed in Linux Mint 18.3) Existing issues: - No ability to change codec properties yet, this thing is WIP - By unknown reason, resulted sound has different (RANDOM) sample rate which is different from 44100 Hz --- include/adlmidi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/adlmidi.h') diff --git a/include/adlmidi.h b/include/adlmidi.h index bc1b2d3..49dcbc0 100644 --- a/include/adlmidi.h +++ b/include/adlmidi.h @@ -35,7 +35,7 @@ extern "C" { typedef uint8_t ADL_UInt8; typedef uint16_t ADL_UInt16; typedef int8_t ADL_SInt8; -typedef int16_t ADL_Sint16; +typedef int16_t ADL_SInt16; #else typedef unsigned char ADL_UInt8; typedef unsigned short ADL_UInt16; @@ -239,7 +239,7 @@ extern void adl_rt_controllerChange(struct ADL_MIDIPlayer *device, ADL_UInt8 cha extern void adl_rt_patchChange(struct ADL_MIDIPlayer *device, ADL_UInt8 channel, ADL_UInt8 patch); /*Apply pitch bend change*/ -extern void adl_rt_pitchBend(struct ADL_MIDIPlayer *device, ADL_UInt8 channel, ADL_UInt8 pitch); +extern void adl_rt_pitchBend(struct ADL_MIDIPlayer *device, ADL_UInt8 channel, ADL_UInt16 pitch); /*Apply pitch bend change*/ extern void adl_rt_pitchBendML(struct ADL_MIDIPlayer *device, ADL_UInt8 channel, ADL_UInt8 msb, ADL_UInt8 lsb); -- cgit v1.2.3