1.2.1. API接口说明
/**
AAC audio library encode init
AAC audio library encode init api. This shall be called before any new audio bistream encode start.
*/
INT32 audlib_aac_encode_init(PAUDLIB_AAC_CFG p_encode_cfg);
......
1.3. 功能说明
1.3.1. AAC 编码流程示例:
#include “audlib_aac.h”
int file_size;
CHAR aac_input[20] = "/mnt/sd/aac_in.PCM";
CHAR aac_output[20] = "/mnt/sd/aac_out.PCM";
CHAR aac_bitstream[20] = "/mnt/sd/aac_bs.PCM";
UINT32 buf_in,buf_out,buf_bsout;
int channel = 2;
int aac_samplerate = 48000;
int BitRate = 192000;
int header_enable = 0;
int encode_stop_freq = 20000;
AUDLIB_AAC_CFG aac_encode_cfg;
AUDLIB_AAC_BUFINFO aac_encode_buf_info;
AUDLIB_AACE_RTNINFO aac_encode_rtn_size;
int Ret;
UINT32 i = 0, Proc = 0, EncodeSize = 0;
printf("In run_aac_test \r\n");
.......
16RD supports Paypal , Payment is calculated at the exchange rate of the day. Unable to download please contact 18902843661 (WhatsApp OR wechat number)