Asterisk - The Open Source Telephony Project  21.4.1
Data Structures | Macros | Functions
fixedjitterbuf.c File Reference

Jitterbuffering algorithm. More...

#include "asterisk.h"
#include <assert.h>
#include "asterisk/utils.h"
#include "fixedjitterbuf.h"

Go to the source code of this file.

Data Structures

struct  fixed_jb
 private fixed_jb structure More...
 

Macros

#define ASSERT(a)   ast_assert(a)
 

Functions

static struct fixed_jb_framealloc_jb_frame (struct fixed_jb *jb)
 
void fixed_jb_destroy (struct fixed_jb *jb)
 
int fixed_jb_get (struct fixed_jb *jb, struct fixed_jb_frame *frame, long now, long interpl)
 
int fixed_jb_is_late (struct fixed_jb *jb, long ts)
 Checks if the given time stamp is late.
 
struct fixed_jbfixed_jb_new (struct fixed_jb_conf *conf)
 
long fixed_jb_next (struct fixed_jb *jb)
 
int fixed_jb_put (struct fixed_jb *jb, void *data, long ms, long ts, long now)
 
int fixed_jb_put_first (struct fixed_jb *jb, void *data, long ms, long ts, long now)
 
int fixed_jb_remove (struct fixed_jb *jb, struct fixed_jb_frame *frameout)
 
void fixed_jb_set_force_resynch (struct fixed_jb *jb)
 
static void get_jb_head (struct fixed_jb *jb, struct fixed_jb_frame *frame)
 
static void release_jb_frame (struct fixed_jb *jb, struct fixed_jb_frame *frame)
 
static int resynch_jb (struct fixed_jb *jb, void *data, long ms, long ts, long now)
 

Detailed Description

Jitterbuffering algorithm.

Author
Slav Klenov slav@.nosp@m.secu.nosp@m.rax.o.nosp@m.rg

Definition in file fixedjitterbuf.c.