Post-processing to generate .wav files (headers) More...
#include <arpa/inet.h>
#include <endian.h>
#include <inttypes.h>
#include <string.h>
#include <stdlib.h>
#include "pp-g711.h"
#include "../debug.h"
Data Structures | |
struct | janus_pp_g711_wav |
Typedefs | |
typedef struct janus_pp_g711_wav | janus_pp_g711_wav |
Functions | |
int | janus_pp_g711_create (char *destination, char *metadata) |
int | janus_pp_g711_process (FILE *file, janus_pp_frame_packet *list, int *working) |
void | janus_pp_g711_close (void) |
Variables | |
int16_t | janus_pp_g711_mulaw_table [256] |
int16_t | janus_pp_g711_alaw_table [256] |
Post-processing to generate .wav files (headers)
Implementation of the post-processing code needed to generate raw .wav files out of G.711 (mu-law or a-law) RTP frames.
typedef struct janus_pp_g711_wav janus_pp_g711_wav |
void janus_pp_g711_close | ( | void | ) |
int janus_pp_g711_create | ( | char * | destination, |
char * | metadata | ||
) |
int janus_pp_g711_process | ( | FILE * | file, |
janus_pp_frame_packet * | list, | ||
int * | working | ||
) |
int16_t janus_pp_g711_alaw_table[256] |
int16_t janus_pp_g711_mulaw_table[256] |