diff options
author | Glenn Kasten <gkasten@google.com> | 2012-03-12 16:29:55 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-03-13 11:09:47 -0700 |
commit | 18db49a46259020387c40fff36d92edc1087a366 (patch) | |
tree | df524d9cb807626d23cc0173be8fd09cd99353c2 /services/audioflinger/AudioFlinger.h | |
parent | 065781397099719805a0a42023581b2622984dd4 (diff) | |
download | frameworks_base-18db49a46259020387c40fff36d92edc1087a366.zip frameworks_base-18db49a46259020387c40fff36d92edc1087a366.tar.gz frameworks_base-18db49a46259020387c40fff36d92edc1087a366.tar.bz2 |
Whitespace and indentation
Fix indentation to be multiple of 4.
Make it easier to search:
sp< not sp < to
"switch (...)" instead of "switch(...)" (also "if" and "while")
Remove redundant blank line at start or EOF.
Remove whitespace at end of line.
Remove extra blank lines where they don't add value.
Use git diff -b or -w to verify.
Change-Id: I966b7ba852faa5474be6907fb212f5e267c2874e
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r-- | services/audioflinger/AudioFlinger.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h index f3c8dd2..0e4b24a 100644 --- a/services/audioflinger/AudioFlinger.h +++ b/services/audioflinger/AudioFlinger.h @@ -465,9 +465,9 @@ private: // ThreadBase mutex before processing the mixer and effects. This guarantees the // integrity of the chains during the process. // Also sets the parameter 'effectChains' to current value of mEffectChains. - void lockEffectChains_l(Vector<sp <EffectChain> >& effectChains); + void lockEffectChains_l(Vector< sp<EffectChain> >& effectChains); // unlock effect chains after process - void unlockEffectChains(const Vector<sp<EffectChain> >& effectChains); + void unlockEffectChains(const Vector< sp<EffectChain> >& effectChains); // set audio mode to all effect chains void setMode(audio_mode_t mode); // get effect module with corresponding ID on specified audio session @@ -1056,7 +1056,7 @@ private: virtual uint32_t activeSleepTimeUs(); private: - bool outputsReady(const SortedVector<sp<OutputTrack> > &outputTracks); + bool outputsReady(const SortedVector< sp<OutputTrack> > &outputTracks); protected: // threadLoop snippets virtual void threadLoop_mix(); @@ -1504,7 +1504,7 @@ mutable Mutex mLock; // mutex for process, commands and handl uint32_t strategy() const { return mStrategy; } void setStrategy(uint32_t strategy) - { mStrategy = strategy; } + { mStrategy = strategy; } // suspend effect of the given type void setEffectSuspended_l(const effect_uuid_t *type, @@ -1544,7 +1544,7 @@ mutable Mutex mLock; // mutex for process, commands and handl wp<ThreadBase> mThread; // parent mixer thread Mutex mLock; // mutex protecting effect list - Vector<sp<EffectModule> > mEffects; // list of effect modules + Vector< sp<EffectModule> > mEffects; // list of effect modules int mSessionId; // audio session ID int16_t *mInBuffer; // chain input buffer int16_t *mOutBuffer; // chain output buffer |