Browse Source

Fix pool fix calc, ignore wrap since it is too hard

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.0-RC1
falkTX 3 years ago
parent
commit
83731c404a
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/native-plugins/audio-file.cpp

+ 1
- 1
source/native-plugins/audio-file.cpp View File

@@ -412,7 +412,7 @@ protected:
if (modframe > fPool.startFrame)
fLastPoolFill = static_cast<float>(modframe - fPool.startFrame) / static_cast<float>(fPool.numFrames) * 100.0f;
else
fLastPoolFill = static_cast<float>(fPool.startFrame - modframe) / static_cast<float>(fPool.numFrames) * 100.0f;
fLastPoolFill = 100.0f;
}

#ifndef __MOD_DEVICES__


Loading…
Cancel
Save