summaryrefslogtreecommitdiff
path: root/indra/llaudio
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-07-02 11:09:33 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-07-02 11:09:33 +0100
commit1417bd3985f339915f259bf5971ef21e47e30163 (patch)
tree97fa0f1c853cb5f335fd411fec17d14c58201edc /indra/llaudio
parent2dc929b3863abfdce53aac4f737226a4d9bc25f8 (diff)
CID-498
Checker: UNINIT_CTOR Function: LLWindGen<short>::LLWindGen(unsigned int) File: /indra/llaudio/llwindgen.h
Diffstat (limited to 'indra/llaudio')
-rw-r--r--indra/llaudio/llwindgen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llaudio/llwindgen.h b/indra/llaudio/llwindgen.h
index 1908b2545f..0e6d0aa2ca 100644
--- a/indra/llaudio/llwindgen.h
+++ b/indra/llaudio/llwindgen.h
@@ -52,7 +52,8 @@ public:
mY1(0.0f),
mCurrentGain(0.f),
mCurrentFreq(100.f),
- mCurrentPanGainR(0.5f)
+ mCurrentPanGainR(0.5f),
+ mLastSample(0.f)
{
mSamplePeriod = (F32)mSubSamples / (F32)mInputSamplingRate;
mB2 = expf(-F_TWO_PI * mFilterBandWidth * mSamplePeriod);