OpusEncodeApi
Function Usage
Performs Opus encoding. This API is similar to the opus_encode interface in Opus 1.3.1.
Prototype
opus_int32 OpusEncodeApi(OpusEncoder *st, const opus_int16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes)
Parameter Description
This API is similar to the opus_encode interface in Opus 1.3.1. For details, refer to the Opus 1.3.1 documentation.
Return Value Description
This API is similar to the opus_encode interface in Opus 1.3.1. For details, refer to the Opus 1.3.1 documentation.
Parent topic: Opus Encoding and Decoding APIs (C and C++)