Browse Source

Try 30s for full audio file in ram

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.0-RC1
falkTX 3 years ago
parent
commit
1742a47a46
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

@@ -293,7 +293,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 * 10;
const uint32_t maxPoolNumFrames = sampleRate * 30;
const bool needsResample = fFileNfo.sample_rate != sampleRate; const bool needsResample = fFileNfo.sample_rate != sampleRate;


if (needsResample) if (needsResample)


Loading…
Cancel
Save