Opus
IETF low-delay audio codec: API and operations manual
1.0.1
 All Files Functions Typedefs Macros Groups Pages
Typedefs | Functions
Repacketizer

The repacketizer can be used to merge multiple Opus packets into a single packet or alternatively to split Opus packets that have previously been merged. More...

Typedefs

typedef struct OpusRepacketizer OpusRepacketizer

Functions

int opus_repacketizer_get_size (void)
OpusRepacketizeropus_repacketizer_init (OpusRepacketizer *rp)
OpusRepacketizeropus_repacketizer_create (void)
void opus_repacketizer_destroy (OpusRepacketizer *rp)
int opus_repacketizer_cat (OpusRepacketizer *rp, const unsigned char *data, opus_int32 len)
opus_int32 opus_repacketizer_out_range (OpusRepacketizer *rp, int begin, int end, unsigned char *data, opus_int32 maxlen)
int opus_repacketizer_get_nb_frames (OpusRepacketizer *rp)
opus_int32 opus_repacketizer_out (OpusRepacketizer *rp, unsigned char *data, opus_int32 maxlen)

Detailed Description

The repacketizer can be used to merge multiple Opus packets into a single packet or alternatively to split Opus packets that have previously been merged.


Typedef Documentation


Function Documentation

int opus_repacketizer_cat ( OpusRepacketizer rp,
const unsigned char *  data,
opus_int32  len 
)
OpusRepacketizer* opus_repacketizer_create ( void  )
void opus_repacketizer_destroy ( OpusRepacketizer rp)
int opus_repacketizer_get_nb_frames ( OpusRepacketizer rp)
int opus_repacketizer_get_size ( void  )
OpusRepacketizer* opus_repacketizer_init ( OpusRepacketizer rp)
opus_int32 opus_repacketizer_out ( OpusRepacketizer rp,
unsigned char *  data,
opus_int32  maxlen 
)
opus_int32 opus_repacketizer_out_range ( OpusRepacketizer rp,
int  begin,
int  end,
unsigned char *  data,
opus_int32  maxlen 
)
For more information visit the Opus Website.