---
title: OpusDecoderCreateApi
description: "创建Opus解码器，类似Opus 1.3.1版本的opus_decoder_create接口。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/250RC1/armnative/kunpengcpsvideo_16_0107.html
sourcePath: /source/zh/kunpengboostkithistory/250RC1/armnative/kunpengcpsvideo_16_0107.html
indexId: a53e18c46aa77ab6d301af8cc0cef5d69492be55d4a3fb01e68647c46e233d7f79
---
# OpusDecoderCreateApi

#### 函数功能

创建Opus解码器，类似Opus 1.3.1版本的opus_decoder_create接口。


#### 函数原型

OpusDecoder *OpusDecoderCreateApi(opus_int32 Fs, int channels, int *error)


#### 参数说明

与Opus 1.3.1中opus_decoder_create接口一致，请参见Opus 1.3.1中定义。


#### 返回值说明

与Opus 1.3.1中opus_decoder_create接口一致，请参见Opus 1.3.1中定义。
