summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Effects.h
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2013-08-31 12:59:48 -0700
committerEric Laurent <elaurent@google.com>2013-09-09 09:09:21 -0700
commit813e2a74853bde19e37d878c596a044b3f299efc (patch)
treeb95aa8b59f49b4348b2112047ee80e572637d706 /services/audioflinger/Effects.h
parent84b7fb0c88ddd05ed7c148c82fe1691040a9404d (diff)
downloadframeworks_av-813e2a74853bde19e37d878c596a044b3f299efc.zip
frameworks_av-813e2a74853bde19e37d878c596a044b3f299efc.tar.gz
frameworks_av-813e2a74853bde19e37d878c596a044b3f299efc.tar.bz2
audioflinger: no effects on offloaded tracks
Invalidate offloaded tracks when an effect is enabled so that the track is recreated in PCM mode and the effect can be applied. This is temporary until effect offloading is implemented. Bug: 8174034. Change-Id: I77b8b54a10db6cb8334be76d863ea7e720eaad09
Diffstat (limited to 'services/audioflinger/Effects.h')
-rw-r--r--services/audioflinger/Effects.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/audioflinger/Effects.h b/services/audioflinger/Effects.h
index 0b7fb83..bac50f2 100644
--- a/services/audioflinger/Effects.h
+++ b/services/audioflinger/Effects.h
@@ -303,6 +303,10 @@ public:
void clearInputBuffer();
+ // At least one effect in the chain is enabled
+ bool isEnabled();
+
+
void dump(int fd, const Vector<String16>& args);
protected: