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();
}