From 83731c404a06e0a958dbd2397565af1281a63303 Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 10 Feb 2021 22:51:39 +0000 Subject: [PATCH] Fix pool fix calc, ignore wrap since it is too hard Signed-off-by: falkTX --- source/native-plugins/audio-file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/native-plugins/audio-file.cpp b/source/native-plugins/audio-file.cpp index 2e639a8be..b5a6195b0 100644 --- a/source/native-plugins/audio-file.cpp +++ b/source/native-plugins/audio-file.cpp @@ -412,7 +412,7 @@ protected: if (modframe > fPool.startFrame) fLastPoolFill = static_cast(modframe - fPool.startFrame) / static_cast(fPool.numFrames) * 100.0f; else - fLastPoolFill = static_cast(fPool.startFrame - modframe) / static_cast(fPool.numFrames) * 100.0f; + fLastPoolFill = 100.0f; } #ifndef __MOD_DEVICES__