summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioFlinger.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-02-03 07:46:42 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-02-03 07:46:42 -0800
commit87f155d6655b2d3b27e69281a29e85c6407e4d26 (patch)
tree65032f39295f3fd280d8478bdc25a14b5362847d /services/audioflinger/AudioFlinger.h
parentf81e97e4ec8b01965a5b36987f886cf5001f71ff (diff)
parentd05397144be774f2f3623c754e865f51753e4e31 (diff)
downloadframeworks_av-87f155d6655b2d3b27e69281a29e85c6407e4d26.zip
frameworks_av-87f155d6655b2d3b27e69281a29e85c6407e4d26.tar.gz
frameworks_av-87f155d6655b2d3b27e69281a29e85c6407e4d26.tar.bz2
Merge "For performance, return large objects by reference"
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r--services/audioflinger/AudioFlinger.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h
index ab5ec34..4156da8 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -1327,7 +1327,8 @@ mutable Mutex mLock; // mutex for process, commands and handl
// get a list of effect modules to suspend when an effect of the type
// passed is enabled.
- Vector< sp<EffectModule> > getSuspendEligibleEffects();
+ void getSuspendEligibleEffects(Vector< sp<EffectModule> > &effects);
+
// get an effect module if it is currently enable
sp<EffectModule> getEffectIfEnabled(const effect_uuid_t *type);
// true if the effect whose descriptor is passed can be suspended