Preallocate buffer in WDL resampler, but not sure if this actually avoids time consuming preallocations later...
This commit is contained in:
parent
70f7ce0393
commit
1b9256ede0
@ -203,7 +203,7 @@ WDL_Resampler::WDL_Resampler()
|
|||||||
m_ratio=1.0;
|
m_ratio=1.0;
|
||||||
m_filter_ratio=-1.0;
|
m_filter_ratio=-1.0;
|
||||||
m_iirfilter=0;
|
m_iirfilter=0;
|
||||||
|
m_rsinbuf.Resize(4 * 65536);
|
||||||
Reset();
|
Reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@
|
|||||||
debugInformationFormat="ProgramDatabase" enablePluginBinaryCopyStep="1"
|
debugInformationFormat="ProgramDatabase" enablePluginBinaryCopyStep="1"
|
||||||
linkTimeOptimisation="0" isDebug="1" optimisation="1" targetName="PaulXStretch"
|
linkTimeOptimisation="0" isDebug="1" optimisation="1" targetName="PaulXStretch"
|
||||||
headerPath="Source/PS_Source Source/WDL C:\ProgrammingProjects\gitrepos\JUCE\modules\vst2.x "
|
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"
|
<CONFIGURATION name="Release" winWarningLevel="4" generateManifest="1" winArchitecture="x64"
|
||||||
debugInformationFormat="ProgramDatabase" enablePluginBinaryCopyStep="1"
|
debugInformationFormat="ProgramDatabase" enablePluginBinaryCopyStep="1"
|
||||||
linkTimeOptimisation="0" isDebug="0" optimisation="3" targetName="PaulXStretch"
|
linkTimeOptimisation="0" isDebug="0" optimisation="3" targetName="PaulXStretch"
|
||||||
|
Loading…
Reference in New Issue
Block a user