#include <inttypes.h>
#include <memory.h>
#include <stdlib.h>
#include "spandsp/telephony.h"
#include "spandsp/dc_restore.h"
#include "spandsp/g722.h"
Functions | |
g722_encode_state_t * | g722_encode_init (g722_encode_state_t *s, int rate, int options) |
int | g722_encode_release (g722_encode_state_t *s) |
int | g722_encode (g722_encode_state_t *s, uint8_t g722_data[], const int16_t amp[], int len) |
|
Encode a buffer of linear PCM data to G.722
|
|
Initialise an G.722 encode context.
|