From 81278a1ec176a2d5c43c1bdc131637aeaacdbcef Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Fri, 16 Oct 2020 12:25:30 +0300 Subject: Remove the check from the MIDI player It's useless here, it's important for the only generator --- src/adlmidi.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/adlmidi.cpp') diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp index 469ff09..194774e 100644 --- a/src/adlmidi.cpp +++ b/src/adlmidi.cpp @@ -1311,8 +1311,6 @@ ADLMIDI_EXPORT int adl_playFormat(ADL_MIDIPlayer *device, int sampleCount, while(left > 0) { {//... - if(setup.delay <= 0.0) - setup.delay = double(left / 2) / double(setup.PCM_RATE); const double eat_delay = setup.delay < setup.maxdelay ? setup.delay : setup.maxdelay; if(hasSkipped) { -- cgit v1.2.3