Main Page | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

schedule.h File Reference

Go to the source code of this file.

Typedefs

typedef span_sched_s span_sched_t
typedef span_sched_state_s span_sched_state_t
typedef void(* span_sched_callback_func_t )(span_sched_state_t *s, void *user_data)

Functions

 SPAN_DECLARE (uint64_t) span_schedule_next(span_sched_state_t *s)
 SPAN_DECLARE (int) span_schedule_event(span_sched_state_t *s
 Release a V.8 context.
 SPAN_DECLARE (void) span_schedule_update(span_sched_state_t *s
 Cleanup a T.30 context if the call terminates.
 SPAN_DECLARE (span_sched_state_t *) span_schedule_init(span_sched_state_t *s)

Variables

int us
int span_sched_callback_func_t function
int span_sched_callback_func_t
void * 
user_data
int id


Detailed Description


Typedef Documentation

typedef struct span_sched_state_s span_sched_state_t
 

A scheduled event queue.

typedef struct span_sched_s span_sched_t
 

A scheduled event entry.


Function Documentation

SPAN_DECLARE void   ) 
 

Cleanup a T.30 context if the call terminates.

Reset an instance of play-out buffering. NOTE: The buffer should be empty before you call this function, otherwise you will leak queued frames, and some internal structures

Parameters:
s The play-out context.
min_length Minimum length of the buffer, in samples.
max_length Maximum length of the buffer, in samples. If this equals min_length, static length buffering is used.

SPAN_DECLARE int   ) 
 

Release a V.8 context.

Process a block of received audio samples for PLC.

Parameters:
s The packet loss concealer context.
amp The audio sample buffer.
len The number of samples in the buffer.
Returns:
The number of samples in the buffer.


Generated on Fri Aug 28 20:12:28 2009 for spandsp by  doxygen 1.3.9.1