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.
30 lines
648 B
30 lines
648 B
/*
|
|
* Copyright (c) Hisilicon Technologies Co., Ltd. Technologies Co., Ltd. 2020-2020. All rights reserved.
|
|
* Description: audio phone header file.
|
|
* Author: audio
|
|
* Create: 2020-10-28
|
|
* Notes: NA
|
|
* History: NA
|
|
*/
|
|
#ifndef AUDIO_PHONE_H
|
|
#define AUDIO_PHONE_H
|
|
|
|
#include "uapi_ai.h"
|
|
#include "uapi_sound.h"
|
|
#include "uapi_version.h"
|
|
#include "td_type.h"
|
|
|
|
#if (UAPI_VERSION_CODE == UAPI_VERSION(1, 0))
|
|
typedef struct {
|
|
uapi_snd snd;
|
|
uapi_ai_port ai_port;
|
|
|
|
td_handle ai;
|
|
td_handle track;
|
|
} aiao_ctx;
|
|
|
|
td_s32 create_down_link(aiao_ctx *ctx);
|
|
td_void destroy_down_link(const aiao_ctx *ctx);
|
|
#endif
|
|
#endif
|