diff options
author | Glenn Kasten <gkasten@google.com> | 2012-01-27 07:19:10 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-01-27 07:19:10 -0800 |
commit | 28f52c84c22e129063a576e1269a39ae0cc0bfb3 (patch) | |
tree | c64b35e8b205295cc6f2503bbb8520868e01fc8a /services/audioflinger/AudioFlinger.h | |
parent | 114c458f2b80a252ec627add1d5fda2093c79068 (diff) | |
parent | 28243dd563fee1c82f0fff6cc27b5cbf21fa2585 (diff) | |
download | frameworks_av-28f52c84c22e129063a576e1269a39ae0cc0bfb3.zip frameworks_av-28f52c84c22e129063a576e1269a39ae0cc0bfb3.tar.gz frameworks_av-28f52c84c22e129063a576e1269a39ae0cc0bfb3.tar.bz2 |
Merge "Use enum effect_state consistently"
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r-- | services/audioflinger/AudioFlinger.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index a291113..2166e31 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h @@ -1086,7 +1086,7 @@ private: void reset_l(); status_t configure(); status_t init(); - uint32_t state() { + effect_state state() const { return mState; } uint32_t status() { @@ -1151,8 +1151,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. |