Browse Source

TESTING: make audiofile disk stream activate only for >10m files

Signed-off-by: falkTX <falktx@falktx.com>
fix-audiofile-buffering
falkTX 1 year ago
parent
commit
f03aaec4ac
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-base.hpp

+ 1
- 1
source/native-plugins/audio-base.hpp View File

@@ -353,7 +353,7 @@ public:
{ {
// valid // valid
const uint32_t fileNumFrames = static_cast<uint32_t>(fFileNfo.frames); const uint32_t fileNumFrames = static_cast<uint32_t>(fFileNfo.frames);
const uint32_t maxPoolNumFrames = sampleRate * 30;
const uint32_t maxPoolNumFrames = sampleRate * 600;
const bool needsResample = fFileNfo.sample_rate != sampleRate; const bool needsResample = fFileNfo.sample_rate != sampleRate;
uint32_t maxFrame; uint32_t maxFrame;




Loading…
Cancel
Save