Fix samples for 64-bit ABIs

1. Set APP_ABI:=all in almost all samples
2. Enhance hello-jni to report more ABIs
3. Fix warnings

Change-Id: I2851c42b77ef8225e32143d225edcf973633e782
This commit is contained in:
Andrew Hsieh
2014-06-20 16:39:46 -07:00
parent e75afa6aee
commit 458300640f
15 changed files with 30 additions and 10 deletions

View File

@@ -0,0 +1 @@
APP_ABI := all

View File

@@ -288,7 +288,7 @@ static jboolean enqueueInitialBuffers(jboolean discontinuity)
LOGV("Dropping last packet because it is not whole");
}
size_t packetsRead = bytesRead / MPEG2_TS_PACKET_SIZE;
LOGV("Initially queueing %u packets", packetsRead);
LOGV("Initially queueing %zu packets", packetsRead);
/* Enqueue the content of our cache before starting to play,
we don't want to starve the player */