Asterisk - The Open Source Telephony Project  GIT-master-a24979a
Data Fields
ast_jb Struct Reference

General jitterbuffer state. More...

#include <abstract_jb.h>

Collaboration diagram for ast_jb:
Collaboration graph
[legend]

Data Fields

struct ast_jb_conf conf
 Jitterbuffer configuration. More...
 
unsigned int flags
 Jitterbuffer internal state flags. More...
 
const struct ast_jb_implimpl
 Jitterbuffer implementation to be used. More...
 
void * jbobj
 Jitterbuffer object, passed to the implementation. More...
 
struct ast_formatlast_format
 Voice format of the last frame in. More...
 
FILE * logfile
 File for frame timestamp tracing. More...
 
long next
 The time the next frame should be played. More...
 
struct timeval timebase
 The time the jitterbuffer was created. More...
 

Detailed Description

General jitterbuffer state.

Definition at line 140 of file abstract_jb.h.

Field Documentation

◆ conf

struct ast_jb_conf conf

Jitterbuffer configuration.

Definition at line 134 of file abstract_jb.h.

Referenced by ast_jb_do_usecheck(), ast_jb_enable_for_channel(), create_jb(), and jb_choose_impl().

◆ flags

unsigned int flags

Jitterbuffer internal state flags.

Definition at line 157 of file abstract_jb.h.

◆ impl

const struct ast_jb_impl* impl

Jitterbuffer implementation to be used.

Definition at line 145 of file abstract_jb.h.

Referenced by ast_jb_destroy(), ast_jb_empty_and_reset(), ast_jb_put(), create_jb(), dispose_jitterbuffer(), jb_choose_impl(), and jb_get_and_deliver().

◆ jbobj

void* jbobj

Jitterbuffer object, passed to the implementation.

Definition at line 147 of file abstract_jb.h.

Referenced by ast_jb_destroy(), ast_jb_empty_and_reset(), ast_jb_put(), create_jb(), dispose_jitterbuffer(), and jb_get_and_deliver().

◆ last_format

struct ast_format* last_format

Voice format of the last frame in.

Definition at line 153 of file abstract_jb.h.

Referenced by ast_jb_destroy(), create_jb(), and jb_get_and_deliver().

◆ logfile

FILE* logfile

File for frame timestamp tracing.

Definition at line 155 of file abstract_jb.h.

Referenced by ast_jb_destroy(), and create_jb().

◆ next

long next

The time the next frame should be played.

Definition at line 151 of file abstract_jb.h.

Referenced by ast_jb_get_when_to_wakeup(), ast_jb_put(), create_jb(), and jb_get_and_deliver().

◆ timebase

struct timeval timebase

The time the jitterbuffer was created.

Definition at line 147 of file abstract_jb.h.

Referenced by ast_jb_do_usecheck(), get_now(), and jb_get_and_deliver().


The documentation for this struct was generated from the following file: