diff options
author | Simon Wilson <simonwilson@google.com> | 2012-11-29 15:26:48 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-11-29 15:26:49 -0800 |
commit | 45f7c446777171a728f9eb257f48145dde5d19e2 (patch) | |
tree | 2fe24fc855668ec17a9a3ca947e785182082c4ac /services/audioflinger/FastMixer.cpp | |
parent | 737f28f2f1046a6e8d0fd1c9215a570fcdf2444a (diff) | |
parent | 2d590964aa58e137d17a43e095e6443dd0fe2e98 (diff) | |
download | frameworks_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.cpp | 4 |
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) { |