summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioFlinger.h
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-01-30 12:56:03 -0800
committerGlenn Kasten <gkasten@google.com>2012-01-30 13:01:17 -0800
commitd05397144be774f2f3623c754e865f51753e4e31 (patch)
treeda598c09f36ce72672b7acec33516dbd9103e172 /services/audioflinger/AudioFlinger.h
parentfd267d7cf640225bb57f0ed1af44efc153275f6d (diff)
downloadframeworks_av-d05397144be774f2f3623c754e865f51753e4e31.zip
frameworks_av-d05397144be774f2f3623c754e865f51753e4e31.tar.gz
frameworks_av-d05397144be774f2f3623c754e865f51753e4e31.tar.bz2
For performance, return large objects by reference
Change-Id: Ibf737018ef1d3c7d717584615dcb2d4ecdb50c99
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 766ba44..16048c8 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -1325,7 +1325,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