aboutsummaryrefslogtreecommitdiff
path: root/include/adlmidi.h
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2017-12-16 20:36:41 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2017-12-16 20:36:41 +0300
commitcfb96e9ef563e4cf39350b5b8721f4b5b70585d2 (patch)
treefd92556eb497c14ad9f7eed01e853a7d1ecca049 /include/adlmidi.h
parent93b8726a3db33023f2c5a0cc5efba58583b87fb4 (diff)
downloadlibADLMIDI-cfb96e9ef563e4cf39350b5b8721f4b5b70585d2.tar.gz
libADLMIDI-cfb96e9ef563e4cf39350b5b8721f4b5b70585d2.tar.bz2
libADLMIDI-cfb96e9ef563e4cf39350b5b8721f4b5b70585d2.zip
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
Diffstat (limited to 'include/adlmidi.h')
-rw-r--r--include/adlmidi.h4
1 files changed, 2 insertions, 2 deletions
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);