Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 97071e78 authored by Leena Winterrowd's avatar Leena Winterrowd Committed by Linux Build Service Account
Browse files

frameworks/av: Fix LOG_NDEBUG compilation issues

Fix compilation issues that appear when enabling LOG_NDEBUG.

Change-Id: I87e9e5ac66157759dd6f521fab0dd346089a011a
parent cd962be2
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -18,6 +18,8 @@
#define LOG_TAG "StreamingSource"
#include <utils/Log.h>

#include <inttypes.h>

#include "StreamingSource.h"

#include "ATSParser.h"
@@ -258,7 +260,7 @@ status_t NuPlayer::StreamingSource::dequeueAccessUnit(
    if (err == OK) {
        int64_t timeUs;
        CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));
        ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
        ALOGV("dequeueAccessUnit timeUs=%" PRId64 " us", timeUs);
    }
#endif

+2 −0
Original line number Diff line number Diff line
@@ -18,7 +18,9 @@

#define MY_HANDLER_H_

#ifndef LOG_NDEBUG
//#define LOG_NDEBUG 0
#endif

#ifndef LOG_TAG
#define LOG_TAG "MyHandler"
+1 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@
#include <media/AudioBufferProvider.h>
#include <utils/Log.h>
#include <utils/Trace.h>
#include "AudioFlinger.h"
#include "FastCapture.h"

namespace android {
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
 */

#define LOG_TAG "FastCaptureDumpState"
//define LOG_NDEBUG 0
//#define LOG_NDEBUG 0

#include "Configuration.h"
#include <utils/Log.h>