From 285fd4e367ca7383ab57fc81f9e84731a67825bb Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Tue, 28 Feb 2017 15:50:16 +0300 Subject: Fixed wrong very long inter-note delays on 32-bit platforms --- src/adlmidi.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/adlmidi.h') diff --git a/src/adlmidi.h b/src/adlmidi.h index 89e853f..0a4ed91 100644 --- a/src/adlmidi.h +++ b/src/adlmidi.h @@ -52,13 +52,13 @@ struct ADL_MIDIPlayer unsigned int SkipForward; unsigned int QuitWithoutLooping; unsigned int ScaleModulators; - double delay; - double carry; + long double delay; + long double carry; /* The lag between visual content and audio content equals */ /* the sum of these two buffers. */ - double mindelay; - double maxdelay; + long double mindelay; + long double maxdelay; /* For internal usage */ int stored_samples; /* num of collected samples */ -- cgit v1.2.3