|
libg722_1
0.0.1
|
#include <inttypes.h>#include <stdlib.h>#include <string.h>#include <math.h>#include "g722_1/g722_1.h"#include "defs.h"#include "huff_tab.h"#include "tables.h"#include "bitstream.h"#include "utilities.h"Functions | |
| int | g722_1_encode (g722_1_encode_state_t *s, uint8_t g722_1_data[], const int16_t amp[], int len) |
| int g722_1_encode | ( | g722_1_encode_state_t * | s, |
| uint8_t | g722_1_data[], | ||
| const int16_t | amp[], | ||
| int | len | ||
| ) |
Encode a buffer of linear PCM data to G.722.1
| s | The G.722.1 encode context. |
| g722_1_data | The G.722.1 data produced. |
| amp | The audio sample buffer. |
| len | The number of samples in the buffer. |