summaryrefslogtreecommitdiffstats
path: root/media/libmedia/AudioTrack.cpp
diff options
context:
space:
mode:
authorPhil Burk <philburk@google.com>2015-04-30 14:55:19 -0700
committerEric Laurent <elaurent@google.com>2015-04-30 21:58:56 +0000
commit5aab9254a5c4f1951c12216a71550ab95b4adeaa (patch)
tree0680d656f421297bbac15a8ad9b7ed776c2d2d66 /media/libmedia/AudioTrack.cpp
parent457e82586d51c6d360ce4feb4c1dff1a31dcb8d3 (diff)
downloadframeworks_av-5aab9254a5c4f1951c12216a71550ab95b4adeaa.zip
frameworks_av-5aab9254a5c4f1951c12216a71550ab95b4adeaa.tar.gz
frameworks_av-5aab9254a5c4f1951c12216a71550ab95b4adeaa.tar.bz2
AudioTrack: fix build
Using format %llu did not work for uint64_t on 64-bit systems! Change-Id: I727094e460141b9da3e433ceaa95e069dad948bc Signed-off-by: Phil Burk <philburk@google.com>
Diffstat (limited to 'media/libmedia/AudioTrack.cpp')
-rw-r--r--media/libmedia/AudioTrack.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/media/libmedia/AudioTrack.cpp b/media/libmedia/AudioTrack.cpp
index f0d9b96..36281c4 100644
--- a/media/libmedia/AudioTrack.cpp
+++ b/media/libmedia/AudioTrack.cpp
@@ -2217,12 +2217,10 @@ status_t AudioTrack::getTimestamp(AudioTimestamp& timestamp)
// position can bobble slightly as an artifact; this hides the bobble
static const int32_t MINIMUM_POSITION_DELTA = 8;
ALOGW_IF(deltaPosition < 0,
- "retrograde timestamp position corrected, %d = %u - %u, (at %llu, %llu nanos)",
+ "retrograde timestamp position corrected, %d = %u - %u",
deltaPosition,
timestamp.mPosition,
- mPreviousTimestamp.mPosition,
- currentTimeNanos,
- previousTimeNanos);
+ mPreviousTimestamp.mPosition);
if (deltaPosition < MINIMUM_POSITION_DELTA) {
timestamp = mPreviousTimestamp; // Use last valid timestamp.
}