OSDN Git Service
(root)
/
android-x86
/
frameworks-av.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bfcf04
)
Add warning about following the design rules
author
Glenn Kasten
<gkasten@google.com>
Fri, 30 Nov 2012 15:57:43 +0000
(07:57 -0800)
committer
Glenn Kasten
<gkasten@google.com>
Fri, 30 Nov 2012 15:59:09 +0000
(07:59 -0800)
Change-Id: Ic4895ed5682bad10b03e97d8015e642ee1696533
services/audioflinger/FastMixer.cpp
patch
|
blob
|
history
diff --git
a/services/audioflinger/FastMixer.cpp
b/services/audioflinger/FastMixer.cpp
index
3c8a256
..
2005899
100644
(file)
--- 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