From 813e2a74853bde19e37d878c596a044b3f299efc Mon Sep 17 00:00:00 2001 From: Eric Laurent Date: Sat, 31 Aug 2013 12:59:48 -0700 Subject: 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 --- services/audioflinger/Effects.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'services/audioflinger/Effects.h') 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& args); protected: -- cgit v1.1