From a7c1906bf52e8993c5b6dea2d2678d8a97098d12 Mon Sep 17 00:00:00 2001 From: Leland Lucius Date: Thu, 28 Jan 2021 19:10:08 -0600 Subject: [PATCH] A small change to accommodate new Nyquist version --- src/effects/nyquist/Nyquist.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/effects/nyquist/Nyquist.cpp b/src/effects/nyquist/Nyquist.cpp index a73d9803b..adfa96eb2 100644 --- a/src/effects/nyquist/Nyquist.cpp +++ b/src/effects/nyquist/Nyquist.cpp @@ -1282,16 +1282,7 @@ bool NyquistEffect::ProcessOne() nyx_set_audio_params(mCurTrack[0]->GetRate(), 0); } else { - // UNSAFE_SAMPLE_COUNT_TRUNCATION - // Danger! Truncation of long long to long! - // Don't say we didn't warn you! - - // Note mCurLen was elsewhere limited to mMaxLen, which is normally - // the greatest long value, and yet even mMaxLen may be experimentally - // increased with a nyquist comment directive. - // See the parsing of "maxlen" - - auto curLen = long(mCurLen.as_long_long()); + auto curLen = mCurLen.as_long_long(); nyx_set_audio_params(mCurTrack[0]->GetRate(), curLen); nyx_set_input_audio(StaticGetCallback, (void *)this,