mirror of https://github.com/stella-emu/stella.git
Convert C-style casts into C++ style (otherwise gcc and clang complain).
This commit is contained in:
parent
e26602354b
commit
c6086184de
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue