summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/FastMixer.cpp
diff options
context:
space:
mode:
authorAlex Ray <aray@google.com>2012-11-30 11:11:54 -0800
committerAlex Ray <aray@google.com>2012-11-30 11:11:54 -0800
commit371eb9756c32109ea572b91216b19bb623f6d3fd (patch)
treedcdd0d3ed708466f6f32b41a79d91926294dcaba /services/audioflinger/FastMixer.cpp
parent45f7c446777171a728f9eb257f48145dde5d19e2 (diff)
downloadframeworks_av-371eb9756c32109ea572b91216b19bb623f6d3fd.zip
frameworks_av-371eb9756c32109ea572b91216b19bb623f6d3fd.tar.gz
frameworks_av-371eb9756c32109ea572b91216b19bb623f6d3fd.tar.bz2
Remove conditional compilation of ATRACE functions
Tracing functions are meant to be dynamically controlled via sysprops. Conditional compilation removes this functionality. Change-Id: I26bc473d104d0b3c50a228dddfda3fa2428d157a
Diffstat (limited to 'services/audioflinger/FastMixer.cpp')
-rw-r--r--services/audioflinger/FastMixer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/services/audioflinger/FastMixer.cpp b/services/audioflinger/FastMixer.cpp
index 2160ea3..0366dfe 100644
--- a/services/audioflinger/FastMixer.cpp
+++ b/services/audioflinger/FastMixer.cpp
@@ -17,6 +17,11 @@
#define LOG_TAG "FastMixer"
//#define LOG_NDEBUG 0
+/** Uncomment for systrace.
+ * ATRACE_TAG will default to ATRACE_TAG_NEVER in the header.
+ */
+//#define ATRACE_TAG ATRACE_TAG_AUDIO
+
#include <sys/atomics.h>
#include <time.h>
#include <utils/Log.h>