diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-02-28 17:25:23 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-02-28 17:25:23 +0300 |
commit | da68b78d315f8ff5430819c05fa3d1224e671eab (patch) | |
tree | 2bac5f474f3fc7b5c9e4e25983e414779b0c7a9c /src/adlmidi.cpp | |
parent | 285fd4e367ca7383ab57fc81f9e84731a67825bb (diff) | |
download | libADLMIDI-da68b78d315f8ff5430819c05fa3d1224e671eab.tar.gz libADLMIDI-da68b78d315f8ff5430819c05fa3d1224e671eab.tar.bz2 libADLMIDI-da68b78d315f8ff5430819c05fa3d1224e671eab.zip |
Change long double into double because of no necessary for it
Diffstat (limited to 'src/adlmidi.cpp')
-rw-r--r-- | src/adlmidi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adlmidi.cpp b/src/adlmidi.cpp index dd42fb6..5bb384d 100644 --- a/src/adlmidi.cpp +++ b/src/adlmidi.cpp @@ -383,7 +383,7 @@ ADLMIDI_EXPORT int adl_play(ADL_MIDIPlayer *device, int sampleCount, short *out) } else { - const long double eat_delay = device->delay < device->maxdelay ? device->delay : device->maxdelay; + const double eat_delay = device->delay < device->maxdelay ? device->delay : device->maxdelay; device->delay -= eat_delay; device->carry += device->PCM_RATE * eat_delay; n_periodCountStereo = static_cast<ssize_t>(device->carry); |