summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/AudioFlinger.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2013-09-09 14:29:08 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-09-09 14:29:08 -0700
commit8136cfae9c22ae8ff42eec9ed751833dda605444 (patch)
treeb6e71058c48bcdd37046ddfa60e3da80b5cc1015 /services/audioflinger/AudioFlinger.h
parenta041f2fce87fa7a0926365d8e8fbc66019ac0661 (diff)
parent8a910716892d17a2ac62c7e9884af0e9d75b26bc (diff)
downloadframeworks_av-8136cfae9c22ae8ff42eec9ed751833dda605444.zip
frameworks_av-8136cfae9c22ae8ff42eec9ed751833dda605444.tar.gz
frameworks_av-8136cfae9c22ae8ff42eec9ed751833dda605444.tar.bz2
am 8a910716: am 6ca83fad: Merge "audioflinger: no effects on offloaded tracks" into klp-dev
* commit '8a910716892d17a2ac62c7e9884af0e9d75b26bc': audioflinger: no effects on offloaded tracks
Diffstat (limited to 'services/audioflinger/AudioFlinger.h')
-rw-r--r--services/audioflinger/AudioFlinger.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h
index 1269aa4..39cdec0 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -466,6 +466,10 @@ private:
void removeClient_l(pid_t pid);
void removeNotificationClient(pid_t pid);
+ //TODO: remove when effect offload is implemented
+ bool isGlobalEffectEnabled_l();
+ void onGlobalEffectEnable();
+
class AudioHwDevice {
public:
enum Flags {
@@ -641,6 +645,8 @@ public:
private:
bool mIsLowRamDevice;
bool mIsDeviceTypeKnown;
+ //TODO: remove when effect offload is implemented
+ nsecs_t mGlobalEffectEnableTime; // when a global effect was last enabled
};
#undef INCLUDING_FROM_AUDIOFLINGER_H