#include <inttypes.h>
#include <math.h>
#include <stdlib.h>
#include "ilbc.h"
#include "StateConstructW.h"
#include "LPCdecode.h"
#include "iCBConstruct.h"
#include "doCPLC.h"
#include "helpfun.h"
#include "constants.h"
#include "packing.h"
#include "string.h"
#include "enhancer.h"
#include "hpOutput.h"
#include "syntFilter.h"
Functions | |
ilbc_decode_state_t * | ilbc_decode_init (ilbc_decode_state_t *s, int mode, int use_enhancer) |
int | ilbc_decode_release (ilbc_decode_state_t *s) |
int | ilbc_decode (ilbc_decode_state_t *s, int16_t amp[], const uint8_t bytes[], int len) |
int | ilbc_fillin (ilbc_decode_state_t *s, int16_t amp[], int len) |
int ilbc_decode | ( | ilbc_decode_state_t * | s, | |
int16_t | amp[], | |||
const uint8_t | bytes[], | |||
int | len | |||
) |
Decode a buffer of iLBC data to linear PCM.
s | The iLBC deocde context. | |
amp | The audio sample buffer. | |
bytes | The excoded data. | |
len | The length of the encoded data, in bytes. |
ilbc_decode_state_t* ilbc_decode_init | ( | ilbc_decode_state_t * | s, | |
int | mode, | |||
int | use_enhancer | |||
) |
Initialise an iLBC decode context.
s | The iLBC decode context. | |
mode | The frame size. | |
use_enhancer | TRUE to use the audio enhancer option. |
int ilbc_fillin | ( | ilbc_decode_state_t * | s, | |
int16_t | amp[], | |||
int | len | |||
) |
Produce linear PCM data to fill in where received iLBC data is missing.
s | The iLBC context. | |
amp | The audio sample buffer. | |
len |