summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/Tracks.cpp
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2013-10-30 01:13:52 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-10-30 01:13:52 +0000
commit1c594b637df26499ce1dae2db34f2b3290efd838 (patch)
tree0d231e939a18d3f28f1e19658a7b7ed2e61ed1fb /services/audioflinger/Tracks.cpp
parentfd4779740ec3e9e865d5514464df26d015354388 (diff)
parentd72b7c0180ee83fc3754629ed68fc5887a125c4c (diff)
downloadframeworks_av-1c594b637df26499ce1dae2db34f2b3290efd838.zip
frameworks_av-1c594b637df26499ce1dae2db34f2b3290efd838.tar.gz
frameworks_av-1c594b637df26499ce1dae2db34f2b3290efd838.tar.bz2
Merge "audioflinger: enable effects after registration if needed" into klp-dev
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 712c5a1..af04ce7 100644
--- a/services/audioflinger/Tracks.cpp
+++ b/services/audioflinger/Tracks.cpp
@@ -852,6 +852,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);
}