summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/FastMixer.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-12-20 07:39:48 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-12-20 07:39:49 -0800
commitcb02ba7c2666b72db030b8bf4a3f2cddc3c23ead (patch)
tree776b9595273fb31b58b5cef46242d6e4f76b88cf /services/audioflinger/FastMixer.cpp
parent534f712969d647b2e7a040581ac148e03ffa7585 (diff)
parenta3d2628a22f2b3d682495044897a40ea1399a662 (diff)
downloadframeworks_av-cb02ba7c2666b72db030b8bf4a3f2cddc3c23ead.zip
frameworks_av-cb02ba7c2666b72db030b8bf4a3f2cddc3c23ead.tar.gz
frameworks_av-cb02ba7c2666b72db030b8bf4a3f2cddc3c23ead.tar.bz2
Merge "Add warning about following the design rules"
Diffstat (limited to 'services/audioflinger/FastMixer.cpp')
-rw-r--r--services/audioflinger/FastMixer.cpp6
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