summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Threads.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-10-03 21:59:04 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-03 21:59:04 +0000
commite49574c22849dd1f53cf78e97d22e61b80a04a6a (patch)
tree4a3b89b9a3264a742b66f6fefe7cff03e275d379 /services/audioflinger/Threads.cpp
parent47560a0f696f3060eea09dcae2f9bdfe91eb395a (diff)
parentb17182d85f147a8d68bba2b4d7ed5e757691b4f4 (diff)
downloadframeworks_av-e49574c22849dd1f53cf78e97d22e61b80a04a6a.zip
frameworks_av-e49574c22849dd1f53cf78e97d22e61b80a04a6a.tar.gz
frameworks_av-e49574c22849dd1f53cf78e97d22e61b80a04a6a.tar.bz2
am b17182d8: am 10b464cf: am 2b217bb3: Merge "audioflinger: fix pre processing transfer between record threads." into lmp-dev
* commit 'b17182d85f147a8d68bba2b4d7ed5e757691b4f4': audioflinger: fix pre processing transfer between record threads.
Diffstat (limited to 'services/audioflinger/Threads.cpp')
-rw-r--r--services/audioflinger/Threads.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp
index a7f3e9f..523a0ec 100644
--- a/services/audioflinger/Threads.cpp
+++ b/services/audioflinger/Threads.cpp
@@ -6208,6 +6208,10 @@ status_t AudioFlinger::RecordThread::addEffectChain_l(const sp<EffectChain>& cha
checkSuspendOnAddEffectChain_l(chain);
+ // make sure enabled pre processing effects state is communicated to the HAL as we
+ // just moved them to a new input stream.
+ chain->syncHalEffectsState();
+
mEffectChains.add(chain);
return NO_ERROR;