Home
last modified time | relevance | path

Searched refs:enc_buffer (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/uvoice/codec/
A Damr_encoder.c26 uint8_t *enc_buffer; member
57 enc_ret = Encoder_Interface_Encode(amr->amrenc, req_mode, ptr, amr->enc_buffer, 0); in amr_encode_process()
58 snd_memcpy(enc_ptr, amr->enc_buffer, enc_ret); in amr_encode_process()
124 amr->enc_buffer = snd_zalloc(160 * sizeof(short), AFM_MAIN); in amr_encoder_create()
125 if (!amr->enc_buffer) { in amr_encoder_create()
156 snd_free(amr->enc_buffer); in amr_encoder_release()
A Damrwb_encoder.c26 uint8_t *enc_buffer; member
58 enc_ret = E_IF_encode(amrwb->amrwbenc, mode, ptr, amrwb->enc_buffer, allow_dtx); in amrwb_encode_process()
59 snd_memcpy(enc_ptr, amrwb->enc_buffer, enc_ret); in amrwb_encode_process()
125 amrwb->enc_buffer = snd_zalloc(L_FRAME16k * sizeof(short), AFM_MAIN); in amrwb_encoder_create()
126 if (!amrwb->enc_buffer) { in amrwb_encoder_create()
157 snd_free(amrwb->enc_buffer); in amrwb_encoder_release()

Completed in 4 milliseconds