OSDN Git Service

audioflinger: enable effects after registration if needed
authorEric Laurent <elaurent@google.com>
Sat, 12 Oct 2013 23:17:46 +0000 (16:17 -0700)
committerEric Laurent <elaurent@google.com>
Sat, 12 Oct 2013 23:37:00 +0000 (16:37 -0700)
commitd72b7c0180ee83fc3754629ed68fc5887a125c4c
tree9c6bef31eaca96d7420a65fcdd2438666c5668dd
parent15ad2470b2f2ac34473eb568b606ad75e8e63ac6
audioflinger: enable effects after registration if needed

This fixes a bug where effects were not properly reenabled after
being moved from one playback thread to another. The effect
is enabled but the audio policy manager sees it as disabled.

Bug: 11181933.
Change-Id: I19cac7acbaf61c546e667fd85ed7d4eda1c716d8
services/audioflinger/AudioFlinger.cpp
services/audioflinger/Tracks.cpp