aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi.cpp
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-11-05 21:01:37 +0300
committerWohlstand <admin@wohlnet.ru>2017-11-05 21:01:37 +0300
commit3bcaac365e914b82f80839e047ebedd6b81fc634 (patch)
tree61105b57fac1fed72f5562ee47f7829bb0af1fb0 /src/adlmidi.cpp
parent44b9892c91476fe4e64b67f3868322b097003335 (diff)
downloadlibADLMIDI-3bcaac365e914b82f80839e047ebedd6b81fc634.tar.gz
libADLMIDI-3bcaac365e914b82f80839e047ebedd6b81fc634.tar.bz2
libADLMIDI-3bcaac365e914b82f80839e047ebedd6b81fc634.zip
Tri-state for deep-tremolo/vibrato/sm/adlib-percussion modes
By default every flag will have "auto" type which means mode will be set in dependence on a bank.
Diffstat (limited to 'src/adlmidi.cpp')
-rw-r--r--src/adlmidi.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp
index 8f07d72..9a0aaa4 100644
--- a/src/adlmidi.cpp
+++ b/src/adlmidi.cpp
@@ -525,9 +525,9 @@ ADLMIDI_EXPORT int adl_play(ADL_MIDIPlayer *device, int sampleCount, short *out)
n_periodCountStereo = static_cast<ssize_t>(setup.carry);
setup.carry -= n_periodCountStereo;
- if(setup.SkipForward > 0)
- setup.SkipForward -= 1;
- else
+ //if(setup.SkipForward > 0)
+ // setup.SkipForward -= 1;
+ //else
{
if((player->atEnd) && (setup.delay <= 0.0))
break;//Stop to fetch samples at reaching the song end with disabled loop