spandsp  0.0.6
playout_state_s Struct Reference

#include <playout.h>

Public Attributes

int dynamic
 
int min_length
 
int max_length
 
int dropable_threshold
 
int start
 
playout_frame_tfirst_frame
 
playout_frame_tlast_frame
 
playout_frame_tfree_frames
 
int frames_in
 
int frames_out
 
int frames_oos
 
int frames_late
 
int frames_missing
 
int frames_trimmed
 
timestamp_t latest_expected
 
timestamp_t current
 
timestamp_t last_speech_sender_stamp
 
timestamp_t last_speech_sender_len
 
int not_first
 
timestamp_t since_last_step
 
int32_t state_just_in_time
 
int32_t state_late
 
int target_buffer_length
 
int actual_buffer_length
 

Detailed Description

Playout (jitter buffer) descriptor. This defines the working state for a single instance of playout buffering.

Member Data Documentation

int playout_state_s::actual_buffer_length

The current actual length of the buffer, which may lag behind the target value

timestamp_t playout_state_s::current

The present jitter adjustment

int playout_state_s::dropable_threshold

The target filter threshold for adjusting dynamic buffering.

int playout_state_s::dynamic

True if the buffer is dynamically sized

playout_frame_t* playout_state_s::first_frame

The queued frame list

int playout_state_s::frames_in

The total frames input to the buffer, to date.

int playout_state_s::frames_late

The number of frames which were discarded, due to late arrival.

int playout_state_s::frames_missing

The number of frames which were never received.

int playout_state_s::frames_oos

The number of frames received out of sequence.

int playout_state_s::frames_out

The total frames output from the buffer, to date.

int playout_state_s::frames_trimmed

The number of frames trimmed from the stream, due to buffer shrinkage.

playout_frame_t* playout_state_s::free_frames

The free frame pool

timestamp_t playout_state_s::last_speech_sender_len

The duration of the last speech frame

timestamp_t playout_state_s::last_speech_sender_stamp

The sender_stamp of the last speech frame

int playout_state_s::max_length

The maximum length (dynamic) or fixed length (static) of the buffer

int playout_state_s::min_length

The minimum length (dynamic) or fixed length (static) of the buffer

timestamp_t playout_state_s::since_last_step

The time since the target buffer length was last changed.

int32_t playout_state_s::state_just_in_time

Filter state for tracking the packets arriving just in time

int32_t playout_state_s::state_late

Filter state for tracking the packets arriving late

int playout_state_s::target_buffer_length

The current target length of the buffer


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