diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-02-28 15:50:16 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-02-28 15:50:16 +0300 |
commit | 285fd4e367ca7383ab57fc81f9e84731a67825bb (patch) | |
tree | 9aec429c49110ab872bc2da4dfdb5ee06ab3dd71 /src/adlmidi.h | |
parent | 1f905ede543e7c59323875562a815ab8034a5c79 (diff) | |
download | libADLMIDI-285fd4e367ca7383ab57fc81f9e84731a67825bb.tar.gz libADLMIDI-285fd4e367ca7383ab57fc81f9e84731a67825bb.tar.bz2 libADLMIDI-285fd4e367ca7383ab57fc81f9e84731a67825bb.zip |
Fixed wrong very long inter-note delays on 32-bit platforms
Diffstat (limited to 'src/adlmidi.h')
-rw-r--r-- | src/adlmidi.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 */ |