hi_mpi_adec_create_chn
Atlas 200/300/500 推理产品,不支持该接口。
Atlas 训练系列产品,不支持该接口。
Atlas 推理系列产品,不支持该接口。
Atlas A2训练系列产品/Atlas 800I A2推理产品,不支持该接口。
函数功能
创建音频解码通道。
约束说明
通道如果已经被创建,则会返回通道已创建的错误。
函数原型
hi_s32 hi_mpi_adec_create_chn(hi_adec_chn adec_chn, const hi_adec_chn_attr *attr);
参数说明
参数名 |
输入/输出 |
说明。 |
---|---|---|
adec_chn |
输入 |
通道号,取值范围[0,6) |
attr |
输入 |
音频解码通道属性指针。 |
返回值说明
- 0:成功
- 非0:失败,参考音频相关返回码。
父主题: AENC音频编码/ADEC音频解码