diff options
Diffstat (limited to 'services/audioflinger/Threads.cpp')
-rw-r--r-- | services/audioflinger/Threads.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/audioflinger/Threads.cpp b/services/audioflinger/Threads.cpp index b1e9c07..44e34b7 100644 --- a/services/audioflinger/Threads.cpp +++ b/services/audioflinger/Threads.cpp @@ -6207,6 +6207,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; |