audioflinger: fix missing EffectBase member init
Fix missing initialization of EffectBase::mSuspend
introduced by commit 41709559.
Bug: 136294538
Test: make
Change-Id: I20de7712ff3701649c78da4e6172e58af3f1f625
diff --git a/services/audioflinger/Effects.h b/services/audioflinger/Effects.h
index 2802e6c..ea51c2c 100644
--- a/services/audioflinger/Effects.h
+++ b/services/audioflinger/Effects.h
@@ -174,7 +174,8 @@
const audio_session_t mSessionId; // audio session ID
const effect_descriptor_t mDescriptor;// effect descriptor received from effect engine
effect_state mState = IDLE; // current activation state
- bool mSuspended; // effect is suspended: temporarily disabled by framework
+ // effect is suspended: temporarily disabled by framework
+ bool mSuspended = false;
Vector<EffectHandle *> mHandles; // list of client handles
// First handle in mHandles has highest priority and controls the effect module