Fork me on GitHub
Functions | Variables

Post-processing to generate .opus files. More...

#include <arpa/inet.h>
#include <endian.h>
#include <inttypes.h>
#include <string.h>
#include <stdlib.h>
#include <ogg/ogg.h>
#include "pp-opus.h"
#include "pp-opus-silence.h"
#include "../debug.h"
Include dependency graph for pp-opus.c:

Functions

void le32 (unsigned char *p, int v)
 
void le16 (unsigned char *p, int v)
 
ogg_packet * op_opushead (void)
 
ogg_packet * op_opustags (void)
 
ogg_packet * op_from_pkt (const unsigned char *pkt, int len)
 
void op_free (ogg_packet *op)
 
int ogg_write (void)
 
int ogg_flush (void)
 
int janus_pp_opus_create (char *destination)
 
int janus_pp_opus_process (FILE *file, janus_pp_frame_packet *list, int *working)
 
void janus_pp_opus_close (void)
 

Variables

FILE * ogg_file = NULL
 
ogg_stream_state * stream = NULL
 

Detailed Description

Post-processing to generate .opus files.

Author
Lorenzo Miniero loren.nosp@m.zo@m.nosp@m.eetec.nosp@m.ho.c.nosp@m.om

Implementation of the post-processing code (based on libogg) needed to generate .opus files out of Opus RTP frames.

Recordings post-processing utility

Function Documentation

void janus_pp_opus_close ( void  )
int janus_pp_opus_create ( char *  destination)
int janus_pp_opus_process ( FILE *  file,
janus_pp_frame_packet list,
int *  working 
)
void le16 ( unsigned char *  p,
int  v 
)
void le32 ( unsigned char *  p,
int  v 
)
int ogg_flush ( void  )
int ogg_write ( void  )
void op_free ( ogg_packet *  op)
ogg_packet* op_from_pkt ( const unsigned char *  pkt,
int  len 
)
ogg_packet* op_opushead ( void  )
ogg_packet* op_opustags ( void  )

Variable Documentation

FILE* ogg_file = NULL
ogg_stream_state* stream = NULL