summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/FastMixer.cpp
diff options
context:
space:
mode:
authorSimon Wilson <simonwilson@google.com>2012-11-29 15:26:48 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-11-29 15:26:49 -0800
commit45f7c446777171a728f9eb257f48145dde5d19e2 (patch)
tree2fe24fc855668ec17a9a3ca947e785182082c4ac /services/audioflinger/FastMixer.cpp
parent737f28f2f1046a6e8d0fd1c9215a570fcdf2444a (diff)
parent2d590964aa58e137d17a43e095e6443dd0fe2e98 (diff)
downloadframeworks_av-45f7c446777171a728f9eb257f48145dde5d19e2.zip
frameworks_av-45f7c446777171a728f9eb257f48145dde5d19e2.tar.gz
frameworks_av-45f7c446777171a728f9eb257f48145dde5d19e2.tar.bz2
Merge "Use ATRACE macros instead of Tracer statics"
Diffstat (limited to 'services/audioflinger/FastMixer.cpp')
-rw-r--r--services/audioflinger/FastMixer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/audioflinger/FastMixer.cpp b/services/audioflinger/FastMixer.cpp
index 3c8a256..2160ea3 100644
--- a/services/audioflinger/FastMixer.cpp
+++ b/services/audioflinger/FastMixer.cpp
@@ -425,11 +425,11 @@ bool FastMixer::threadLoop()
// but this code should be modified to handle both non-blocking and blocking sinks
dumpState->mWriteSequence++;
#if defined(ATRACE_TAG) && (ATRACE_TAG != ATRACE_TAG_NEVER)
- Tracer::traceBegin(ATRACE_TAG, "write");
+ ATRACE_BEGIN("write");
#endif
ssize_t framesWritten = outputSink->write(mixBuffer, frameCount);
#if defined(ATRACE_TAG) && (ATRACE_TAG != ATRACE_TAG_NEVER)
- Tracer::traceEnd(ATRACE_TAG);
+ ATRACE_END();
#endif
dumpState->mWriteSequence++;
if (framesWritten >= 0) {