summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-26 13:43:46 -0800
committerGlenn Kasten <gkasten@google.com>2012-01-26 14:20:34 -0800
commit452d6d6efe062b7cee10cc2b543c0b857f171022 (patch)
tree87e240fefe89927244d484f3b717dff4260b6217 /services
parentcaaac348ed163f59cf1b8185bb14137050c18e7e (diff)
downloadframeworks_base-452d6d6efe062b7cee10cc2b543c0b857f171022.zip
frameworks_base-452d6d6efe062b7cee10cc2b543c0b857f171022.tar.gz
frameworks_base-452d6d6efe062b7cee10cc2b543c0b857f171022.tar.bz2
Use enum effect_state consistently
Also fix indentation Change-Id: I393ef9e37ffceed5ad4a78df439726ae1fe139df
Diffstat (limited to 'services')
-rw-r--r--services/audioflinger/AudioFlinger.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h
index 48edfcd..3334ab6 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -1087,7 +1087,7 @@ private:
void reset_l();
status_t configure();
status_t init();
- uint32_t state() {
+ effect_state state() const {
return mState;
}
uint32_t status() {
@@ -1152,8 +1152,8 @@ mutable Mutex mLock; // mutex for process, commands and handl
effect_descriptor_t mDescriptor;// effect descriptor received from effect engine
effect_config_t mConfig; // input and output audio configuration
effect_handle_t mEffectInterface; // Effect module C API
- status_t mStatus; // initialization status
- uint32_t mState; // current activation state (effect_state)
+ status_t mStatus; // initialization status
+ effect_state mState; // current activation state
Vector< wp<EffectHandle> > mHandles; // list of client handles
uint32_t mMaxDisableWaitCnt; // maximum grace period before forcing an effect off after
// sending disable command.