You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
2.0 KiB
45 lines
2.0 KiB
4 months ago
|
/*
|
||
|
* Copyright (c) Hisilicon Technologies Co., Ltd. 2020-2020. All rights reserved.
|
||
|
* Description: audio hal debug header file.
|
||
|
* Author: Hisilicon
|
||
|
* Create: 2020-05-11
|
||
|
* Notes: NA
|
||
|
* History: 2020-05-11 yinyingcai for CodingStyle
|
||
|
*/
|
||
|
#ifndef VNAUDIO_DBG_H
|
||
|
#define VNAUDIO_DBG_H
|
||
|
|
||
|
#include <log/log.h>
|
||
|
|
||
|
#define PROPERTY_FILE_ES "persist.vendor.audiohal.file.es"
|
||
|
#define PROPERTY_FILE_PCM "persist.vendor.audiohal.file.pcm"
|
||
|
#define PROPERTY_FILE_PTS "persist.vendor.audiohal.file.pts"
|
||
|
#define PROPERTY_FILE_HPI_RECORD "persist.vendor.audiohal.file.hpi.record"
|
||
|
#define PROPERTY_FILE_HCI_RECORD "persist.vendor.audiohal.file.hci.record"
|
||
|
#define PROPERTY_CFG_PCM_PERIOD_SIZE "persist.vendor.audiohal.cfg.pcm.periodsize"
|
||
|
#define PROPERTY_CFG_PCM_PERIOD_CNT "persist.vendor.audiohal.cfg.pcm.periodcnt"
|
||
|
#define PROPERTY_CFG_DIRECT_PERIOD_SIZE "persist.vendor.audiohal.cfg.direct.periodsize"
|
||
|
#define PROPERTY_CFG_DIRECT_PERIOD_CNT "persist.vendor.audiohal.cfg.direct.periodcnt"
|
||
|
#define PROPERTY_SOUND_AOP_MS "persist.vendor.audiohal.cfg.aopms"
|
||
|
#define PROPERTY_SOUND_AIP_MS "persist.vendor.audiohal.cfg.aipms"
|
||
|
#define PROPERTY_TRACK_START_MS "persist.vendor.audiohal.cfg.startms"
|
||
|
#define ES_FILE "/mnt/hal_audio.es"
|
||
|
#define PCM_FILE "/mnt/hal_audio.pcm"
|
||
|
#define PTS_FILE "/mnt/hal_audio.pts"
|
||
|
#define HPI_RECORD_FILE "/mnt/hal_audio.hpi_record"
|
||
|
#define HCI_RECORD_FILE "/mnt/hal_audio.hci_record"
|
||
|
#define FILE_DEBUG
|
||
|
#define DEBUG_TRUE 1
|
||
|
#define DEBUG_FALSE 0
|
||
|
|
||
|
#define DATAPATH_ENBALE DEBUG_TRUE
|
||
|
#define XRUNCHECK_ENABLE DEBUG_TRUE
|
||
|
#define PTS_ENABLE DEBUG_TRUE
|
||
|
#define DELAYCHECK_ENABLE DEBUG_TRUE
|
||
|
|
||
|
#define trace() ALOGD_IF(DEBUG_FALSE, " %s called", __func__)
|
||
|
#define trace_call(fmt...) ALOGD_IF(DEBUG_FALSE, fmt)
|
||
|
#define pts(fmt...) ALOGD_IF(DEBUG_FALSE, fmt)
|
||
|
|
||
|
#endif
|