summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Tracks.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2013-10-29 18:20:38 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-29 18:20:38 -0700
commit1fc6cb5be26734938b3999e6bf4ce0e625e7d284 (patch)
treececa20e265134ebd5158b56d9341301ffd4242cc /services/audioflinger/Tracks.cpp
parentd21952fe5bc94f7bb6ee729f806c0e641fdb1a0d (diff)
parentce275b7dd20e3d4781a46126c753e6eb998e6c0f (diff)
downloadframeworks_av-1fc6cb5be26734938b3999e6bf4ce0e625e7d284.zip
frameworks_av-1fc6cb5be26734938b3999e6bf4ce0e625e7d284.tar.gz
frameworks_av-1fc6cb5be26734938b3999e6bf4ce0e625e7d284.tar.bz2
am ce275b7d: am 1c594b63: Merge "audioflinger: enable effects after registration if needed" into klp-dev
* commit 'ce275b7dd20e3d4781a46126c753e6eb998e6c0f': audioflinger: enable effects after registration if needed
Diffstat (limited to 'services/audioflinger/Tracks.cpp')
-rw-r--r--services/audioflinger/Tracks.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/audioflinger/Tracks.cpp b/services/audioflinger/Tracks.cpp
index 9152ea3..d5178b1 100644
--- a/services/audioflinger/Tracks.cpp
+++ b/services/audioflinger/Tracks.cpp
@@ -861,6 +861,7 @@ status_t AudioFlinger::PlaybackThread::Track::attachAuxEffect(int EffectId)
dstChain->strategy(),
AUDIO_SESSION_OUTPUT_MIX,
effect->id());
+ AudioSystem::setEffectEnabled(effect->id(), effect->isEnabled());
}
status = playbackThread->attachAuxEffect(this, EffectId);
}