From 3bcaac365e914b82f80839e047ebedd6b81fc634 Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Sun, 5 Nov 2017 21:01:37 +0300 Subject: 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. --- src/adlmidi.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/adlmidi.cpp') 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(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 -- cgit v1.2.3