summaryrefslogtreecommitdiff
path: root/rcaudio/def.h (plain)
blob: 595541ce5fd204b5dee912dcf2b254877c89af38
1#ifndef HUITONG_DEF_H
2#define HUITONG_DEF_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#define RAS_CMD_MASK 0x07
9#define RAS_START_CMD 0x04
10#define RAS_DATA_TIC1_CMD 0x01
11#define RAS_STOP_CMD 0x02
12#define RAS_DATA_RAW_CMD 0x03
13
14//#ifdef LOG_TAG
15//#undef LOG_TAG
16//#endif
17//#define LOG_TAG "huitong_audio_hw"
18
19//#define LOG_NDEBUG 0
20//#define LOG_NDEBUG_FUNCTION
21#ifdef LOG_NDEBUG_FUNCTION
22#define LOGFUNC(...) ((void)0)
23#else
24#define LOGFUNC(...) (ALOGD(__VA_ARGS__))
25#endif
26
27#ifdef __cplusplus
28}
29#endif
30#endif
31