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.

43 lines
1.1 KiB

/*
* Copyright (c) Hisilicon Technologies Co., Ltd. 2019-2021. All rights reserved.
* Description: video/audio interface head.
* Author: Hisilicon
* Create: 2019-11-01
*/
#ifndef __ADP_UAPI_EXT_H__
#define __ADP_UAPI_EXT_H__
#include "td_type.h"
#include "uapi_audio.h"
#include "uapi_stream.h"
#include "uapi_system.h"
#include "uapi_avplay.h"
#include "adp_common_ext.h"
#include "uapi_ai.h"
#define TSPLAY_SUPPORT_VID_CHAN
#define TSPLAY_SUPPORT_AUD_CHAN
#define DOLBYPLUS_HACODEC_SUPPORT
#define SLIC_AUDIO_DEVICE_ENABLE
#define G711_FRAME_LEN 320
/* sound common interface */
td_s32 adp_uapi_snd_init(td_void);
td_s32 adp_uapi_snd_deinit(td_void);
#ifdef EXT_AUDIO_AI_SUPPORT
/* only support single AI chn */
td_s32 adp_uapi_ai_init(uapi_ai_port ai_src, td_handle *ai_handle, td_handle *track_slave,
td_handle *a_track_vir);
td_s32 adp_uapi_ai_deinit(td_handle h_ai, td_handle h_ai_slave, td_handle h_ai_vir);
#endif
/* avplay common interface */
td_s32 adp_uapi_avplay_init();
td_s32 adp_uapi_avplay_set_adec_attr(td_handle avplay, td_u32 acodec_id);
#endif