diff options
author | Glenn Kasten <gkasten@google.com> | 2012-12-20 07:39:48 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-12-20 07:39:49 -0800 |
commit | f93aa1fdae47ca2eddc7ca35fbde4266b114e8c5 (patch) | |
tree | b6b21be3565c767dcf9aecd7656bff1c4196f3b1 /services/audioflinger/FastMixer.cpp | |
parent | f5961efd27adde3726b78386328b0e649b248171 (diff) | |
parent | 05f9e4fe9a97e077b5ed37214464c0a67af80871 (diff) | |
download | frameworks_av-f93aa1fdae47ca2eddc7ca35fbde4266b114e8c5.zip frameworks_av-f93aa1fdae47ca2eddc7ca35fbde4266b114e8c5.tar.gz frameworks_av-f93aa1fdae47ca2eddc7ca35fbde4266b114e8c5.tar.bz2 |
Merge "Add warning about following the design rules"
Diffstat (limited to 'services/audioflinger/FastMixer.cpp')
-rw-r--r-- | services/audioflinger/FastMixer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/services/audioflinger/FastMixer.cpp b/services/audioflinger/FastMixer.cpp index 5e6af16..9283f53 100644 --- a/services/audioflinger/FastMixer.cpp +++ b/services/audioflinger/FastMixer.cpp @@ -14,6 +14,12 @@ * limitations under the License. */ +// <IMPORTANT_WARNING> +// Design rules for threadLoop() are given in the comments at section "Fast mixer thread" of +// StateQueue.h. In particular, avoid library and system calls except at well-known points. +// The design rules are only for threadLoop(), and don't apply to FastMixerDumpState methods. +// </IMPORTANT_WARNING> + #define LOG_TAG "FastMixer" //#define LOG_NDEBUG 0 |