From f03aaec4acede7ac3feac1ee52aedbe4bc8574bd Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 10 Aug 2023 17:16:59 +0200 Subject: [PATCH] TESTING: make audiofile disk stream activate only for >10m files Signed-off-by: falkTX --- source/native-plugins/audio-base.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/native-plugins/audio-base.hpp b/source/native-plugins/audio-base.hpp index f5c1d575b..85d74fb27 100644 --- a/source/native-plugins/audio-base.hpp +++ b/source/native-plugins/audio-base.hpp @@ -353,7 +353,7 @@ public: { // valid const uint32_t fileNumFrames = static_cast(fFileNfo.frames); - const uint32_t maxPoolNumFrames = sampleRate * 30; + const uint32_t maxPoolNumFrames = sampleRate * 600; const bool needsResample = fFileNfo.sample_rate != sampleRate; uint32_t maxFrame;