ASR_BASE
Change-Id: Icf3719cc0afe3eeb3edc7fa80a2eb5199ca9dda1
diff --git a/marvell/services/audio/libacm/acm/inc/acm_log.h b/marvell/services/audio/libacm/acm/inc/acm_log.h
new file mode 100644
index 0000000..4c2bf3a
--- /dev/null
+++ b/marvell/services/audio/libacm/acm/inc/acm_log.h
@@ -0,0 +1,55 @@
+/******************************************************************************
+*(C) Copyright 2014 Marvell International Ltd.
+* All Rights Reserved
+******************************************************************************/
+#ifdef PXA1826_AUDIO
+
+#ifndef ACM_LOG_h
+#define ACM_LOG_h
+
+/******************************************************************************
+ * Include files
+ ******************************************************************************/
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <ctype.h>
+#include <pthread.h>
+
+/******************************************************************************
+ * Prototypes
+ ******************************************************************************/
+
+//extern int __android_log_print(int prio, const char *tag, const char *fmt, ...);
+/******************************************************************************
+ * Define
+ ******************************************************************************/
+#define LOG_BUF_SIZE 1024
+
+/* Android log priority values, in ascending priority order. */
+typedef enum android_LogPriority {
+ ANDROID_LOG_UNKNOWN = 0,
+ ANDROID_LOG_DEFAULT, /* only for SetMinPriority() */
+ ANDROID_LOG_VERBOSE,
+ ANDROID_LOG_DEBUG,
+ ANDROID_LOG_INFO,
+ ANDROID_LOG_WARN,
+ ANDROID_LOG_ERROR,
+ ANDROID_LOG_FATAL,
+ ANDROID_LOG_SILENT, /* only for SetMinPriority(); must be last */
+} android_LogPriority;
+
+#define ALOGD(...) __acm_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__)
+#define ALOGE(...) __acm_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__)
+#define ALOGI(...) __acm_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
+#define ALOGV(...) __acm_log_print(ANDROID_LOG_VERBOSE, LOG_TAG, __VA_ARGS__)
+#define ALOGW(...) __acm_log_print(ANDROID_LOG_WARN, LOG_TAG, __VA_ARGS__)
+
+#define LOGD(...) __acm_log_print(ANDROID_LOG_DEBUG, LOG_TAG, __VA_ARGS__)
+#define LOGE(...) __acm_log_print(ANDROID_LOG_ERROR, LOG_TAG, __VA_ARGS__)
+#define LOGI(...) __acm_log_print(ANDROID_LOG_INFO, LOG_TAG, __VA_ARGS__)
+#define LOGV(...) __acm_log_print(ANDROID_LOG_VERBOSE, LOG_TAG, __VA_ARGS__)
+#define LOGW(...) __acm_log_print(ANDROID_LOG_WARN, LOG_TAG, __VA_ARGS__)
+
+#endif //ACM_LOG_h
+#endif //PXA1826_AUDIO