fixed warnings

This commit is contained in:
thrust26 2018-08-09 11:39:36 +02:00
parent 4e4b38d87a
commit e26602354b
1 changed files with 3 additions and 3 deletions

View File

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