MixContext Struct Reference
Collaboration diagram for MixContext:
Collaboration graph

Data Fields

const AVClassclass
 class for AVOptions More...
 
AVFloatDSPContext fdsp
 
int nb_inputs
 number of inputs More...
 
int active_inputs
 number of input currently active More...
 
int duration_mode
 mode for determining duration More...
 
float dropout_transition
 transition time when an input drops out More...
 
int nb_channels
 number of channels More...
 
int sample_rate
 sample rate More...
 
int planar
 
AVAudioFifo ** fifos
 audio fifo for each input More...
 
uint8_tinput_state
 current state of each input More...
 
float * input_scale
 mixing scale factor for each input More...
 
float scale_norm
 normalization factor for all inputs More...
 
int64_t next_pts
 calculated pts for next output frame More...
 
FrameListframe_list
 list of frame info for the first input More...
 

Detailed Description

Definition at line 155 of file af_amix.c.

Field Documentation

int MixContext::active_inputs

number of input currently active

Definition at line 160 of file af_amix.c.

Referenced by calc_active_inputs(), calculate_scales(), config_output(), and request_frame().

const AVClass* MixContext::class

class for AVOptions

Definition at line 156 of file af_amix.c.

float MixContext::dropout_transition

transition time when an input drops out

Definition at line 162 of file af_amix.c.

Referenced by calculate_scales().

int MixContext::duration_mode

mode for determining duration

Definition at line 161 of file af_amix.c.

Referenced by calc_active_inputs().

AVFloatDSPContext MixContext::fdsp

Definition at line 157 of file af_amix.c.

Referenced by init(), and output_frame().

AVAudioFifo** MixContext::fifos

audio fifo for each input

Definition at line 167 of file af_amix.c.

Referenced by config_output(), filter_frame(), get_available_samples(), output_frame(), request_samples(), and uninit().

FrameList* MixContext::frame_list

list of frame info for the first input

Definition at line 172 of file af_amix.c.

Referenced by config_output(), filter_frame(), request_frame(), and uninit().

float* MixContext::input_scale

mixing scale factor for each input

Definition at line 169 of file af_amix.c.

Referenced by calculate_scales(), config_output(), output_frame(), and uninit().

uint8_t* MixContext::input_state
int MixContext::nb_channels

number of channels

Definition at line 164 of file af_amix.c.

Referenced by config_output(), and output_frame().

int MixContext::nb_inputs
int64_t MixContext::next_pts

calculated pts for next output frame

Definition at line 171 of file af_amix.c.

Referenced by config_output(), output_frame(), and request_frame().

int MixContext::planar

Definition at line 166 of file af_amix.c.

Referenced by config_output(), and output_frame().

int MixContext::sample_rate

sample rate

Definition at line 165 of file af_amix.c.

Referenced by calculate_scales(), and config_output().

float MixContext::scale_norm

normalization factor for all inputs

Definition at line 170 of file af_amix.c.

Referenced by calculate_scales(), and config_output().


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