aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_private.hpp
diff options
context:
space:
mode:
authorVitaly Novichkov <Wohlstand@users.noreply.github.com>2018-05-31 10:24:04 +0300
committerGitHub <noreply@github.com>2018-05-31 10:24:04 +0300
commit9a335e46ac1fedf7badc290ce7e7015cd93b3221 (patch)
tree34b04d802b375faeb29ed183b645f502e1431b53 /src/adlmidi_private.hpp
parent526283f46bf2d77973e7d6d5225dd77040708193 (diff)
parent77c563275fe8ad287b6d43e2ba041a2918db369c (diff)
downloadlibADLMIDI-9a335e46ac1fedf7badc290ce7e7015cd93b3221.tar.gz
libADLMIDI-9a335e46ac1fedf7badc290ce7e7015cd93b3221.tar.bz2
libADLMIDI-9a335e46ac1fedf7badc290ce7e7015cd93b3221.zip
Merge pull request #96 from jpcima/minor-things
Minor things
Diffstat (limited to 'src/adlmidi_private.hpp')
-rw-r--r--src/adlmidi_private.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp
index 0e3affe..ee73c61 100644
--- a/src/adlmidi_private.hpp
+++ b/src/adlmidi_private.hpp
@@ -508,8 +508,6 @@ public:
uint8_t panning, vibrato, aftertouch, sustain;
//! Per note Aftertouch values
uint8_t noteAftertouch[128];
- //! Zero-filled array. Is used to compare with note aftertouch range
- uint8_t noteAftertouch_Zero[128];
//! Is note aftertouch has any non-zero value
bool noteAfterTouchInUse;
char ____padding[6];
@@ -717,7 +715,6 @@ public:
vibrato = 0;
aftertouch = 0;
std::memset(noteAftertouch, 0, 128);
- std::memset(noteAftertouch_Zero, 0, 128);
noteAfterTouchInUse = false;
vibspeed = 2 * 3.141592653 * 5.0;
vibdepth = 0.5 / 127;