Merge "Fix warnings"
This commit is contained in:
@@ -230,7 +230,7 @@ void JNICameraContext::copyAndPost(JNIEnv* env, const sp<IMemory>& dataPtr, int
|
||||
ssize_t offset;
|
||||
size_t size;
|
||||
sp<IMemoryHeap> heap = dataPtr->getMemory(&offset, &size);
|
||||
ALOGV("copyAndPost: off=%ld, size=%d", offset, size);
|
||||
ALOGV("copyAndPost: off=%zd, size=%zu", offset, size);
|
||||
uint8_t *heapBase = (uint8_t*)heap->base();
|
||||
|
||||
if (heapBase != NULL) {
|
||||
|
||||
@@ -312,7 +312,7 @@ static void android_media_AudioRecord_release(JNIEnv *env, jobject thiz) {
|
||||
if (lpRecorder == NULL) {
|
||||
return;
|
||||
}
|
||||
ALOGV("About to delete lpRecorder: %" PRIxPTR "\n", lpRecorder.get());
|
||||
ALOGV("About to delete lpRecorder: %p", lpRecorder.get());
|
||||
lpRecorder->stop();
|
||||
|
||||
audiorecord_callback_cookie *lpCookie = (audiorecord_callback_cookie *)env->GetLongField(
|
||||
@@ -325,7 +325,7 @@ static void android_media_AudioRecord_release(JNIEnv *env, jobject thiz) {
|
||||
// delete the callback information
|
||||
if (lpCookie) {
|
||||
Mutex::Autolock l(sLock);
|
||||
ALOGV("deleting lpCookie: %" PRIxPTR "\n", lpCookie);
|
||||
ALOGV("deleting lpCookie: %p", lpCookie);
|
||||
while (lpCookie->busy) {
|
||||
if (lpCookie->cond.waitRelative(sLock,
|
||||
milliseconds(CALLBACK_COND_WAIT_TIMEOUT_MS)) !=
|
||||
|
||||
Reference in New Issue
Block a user