Preallocate buffer in WDL resampler, but not sure if this actually avoids time consuming preallocations later...

This commit is contained in:
xenakios 2018-10-26 17:49:38 +03:00
parent 70f7ce0393
commit 1b9256ede0
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ WDL_Resampler::WDL_Resampler()
m_ratio=1.0;
m_filter_ratio=-1.0;
m_iirfilter=0;
m_rsinbuf.Resize(4 * 65536);
Reset();
}

View File

@ -86,7 +86,7 @@
debugInformationFormat="ProgramDatabase" enablePluginBinaryCopyStep="1"
linkTimeOptimisation="0" isDebug="1" optimisation="1" targetName="PaulXStretch"
headerPath="Source/PS_Source
Source/WDL
C:\ProgrammingProjects\gitrepos\JUCE\modules\vst2.x
"
vstBinaryLocation="C:\VSTPlugins_64bit"/>
vstBinaryLocation="C:\VSTPlugins_64bit" defines="WDL_HEAPBUF_TRACE"/>
<CONFIGURATION name="Release" winWarningLevel="4" generateManifest="1" winArchitecture="x64"
debugInformationFormat="ProgramDatabase" enablePluginBinaryCopyStep="1"
linkTimeOptimisation="0" isDebug="0" optimisation="3" targetName="PaulXStretch"