Skip to content
Snippets Groups Projects
Commit 1417bd39 authored by Tofu Linden's avatar Tofu Linden
Browse files

CID-498

Checker: UNINIT_CTOR
Function: LLWindGen<short>::LLWindGen(unsigned int)
File: /indra/llaudio/llwindgen.h
parent 2dc929b3
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,8 @@ class LLWindGen ...@@ -52,7 +52,8 @@ class LLWindGen
mY1(0.0f), mY1(0.0f),
mCurrentGain(0.f), mCurrentGain(0.f),
mCurrentFreq(100.f), mCurrentFreq(100.f),
mCurrentPanGainR(0.5f) mCurrentPanGainR(0.5f),
mLastSample(0.f)
{ {
mSamplePeriod = (F32)mSubSamples / (F32)mInputSamplingRate; mSamplePeriod = (F32)mSubSamples / (F32)mInputSamplingRate;
mB2 = expf(-F_TWO_PI * mFilterBandWidth * mSamplePeriod); mB2 = expf(-F_TWO_PI * mFilterBandWidth * mSamplePeriod);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment