summaryrefslogtreecommitdiffstats
path: root/media/jni/soundpool/SoundPool.cpp
diff options
context:
space:
mode:
authorMarco Nelissen <marcone@google.com>2015-01-27 12:17:48 -0800
committerMarco Nelissen <marcone@google.com>2015-01-27 12:17:48 -0800
commit6cd6110773bf83638f21a76d388dc2b7037df0d8 (patch)
tree24a2c910f75d2655d8eb47ebe5b10e6a29fa5129 /media/jni/soundpool/SoundPool.cpp
parente74da38e21a320528d0c94d076e59bd503c37623 (diff)
downloadframeworks_base-6cd6110773bf83638f21a76d388dc2b7037df0d8.zip
frameworks_base-6cd6110773bf83638f21a76d388dc2b7037df0d8.tar.gz
frameworks_base-6cd6110773bf83638f21a76d388dc2b7037df0d8.tar.bz2
Fix printf format
Change-Id: Ied2f10bb59fe0e13b23bf1f9913ab3b081348a28
Diffstat (limited to 'media/jni/soundpool/SoundPool.cpp')
-rw-r--r--media/jni/soundpool/SoundPool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/jni/soundpool/SoundPool.cpp b/media/jni/soundpool/SoundPool.cpp
index f42f850..a8b91d24c 100644
--- a/media/jni/soundpool/SoundPool.cpp
+++ b/media/jni/soundpool/SoundPool.cpp
@@ -479,7 +479,7 @@ static status_t decode(int fd, int64_t offset, int64_t length,
uint32_t *rate, int *numChannels, audio_format_t *audioFormat,
sp<MemoryHeapBase> heap, size_t *memsize) {
- ALOGV("fd %d, offset %lld, size %lld", fd, offset, length);
+ ALOGV("fd %d, offset %" PRId64 ", size %" PRId64, fd, offset, length);
AMediaExtractor *ex = AMediaExtractor_new();
status_t err = AMediaExtractor_setDataSourceFd(ex, fd, offset, length);
@@ -523,7 +523,7 @@ static status_t decode(int fd, int64_t offset, int64_t length,
while (!sawOutputEOS) {
if (!sawInputEOS) {
ssize_t bufidx = AMediaCodec_dequeueInputBuffer(codec, 5000);
- ALOGV("input buffer %d", bufidx);
+ ALOGV("input buffer %zd", bufidx);
if (bufidx >= 0) {
size_t bufsize;
uint8_t *buf = AMediaCodec_getInputBuffer(codec, bufidx, &bufsize);