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__