Convert C-style casts into C++ style (otherwise gcc and clang complain).

This commit is contained in:
Stephen Anthony 2018-08-09 08:55:41 -02:30
parent e26602354b
commit c6086184de
1 changed files with 3 additions and 3 deletions

View File

@ -79,9 +79,9 @@ LanczosResampler::LanczosResampler(
myCurrentFragment(nullptr),
myFragmentIndex(0),
myIsUnderrun(true),
myHighPassL(HIGH_PASS_CUT_OFF, (float)formatFrom.sampleRate),
myHighPassR(HIGH_PASS_CUT_OFF, (float)formatFrom.sampleRate),
myHighPass(HIGH_PASS_CUT_OFF, (float)formatFrom.sampleRate),
myHighPassL(HIGH_PASS_CUT_OFF, float(formatFrom.sampleRate)),
myHighPassR(HIGH_PASS_CUT_OFF, float(formatFrom.sampleRate)),
myHighPass(HIGH_PASS_CUT_OFF, float(formatFrom.sampleRate)),
myTimeIndex(0)
{
myPrecomputedKernels = make_unique<float[]>(myPrecomputedKernelCount * myKernelSize);