libgpac
Documentation of the core library of GPAC
MixerInput Struct Reference
+ Collaboration diagram for MixerInput:

Data Fields

GF_AudioInterfacesrc
 
s32ch_buf [GF_AUDIO_MIXER_MAX_CHANNELS]
 
u32 buffer_size
 
u32 bytes_per_sec
 
u32 bit_depth
 
Bool has_prev
 
s32 last_channels [GF_AUDIO_MIXER_MAX_CHANNELS]
 
u32 in_bytes_used
 
u32 out_samples_written
 
u32 out_samples_to_write
 
u32 out_samples_pos
 
u32 in_samples_pos
 
u32 scaled_sr
 
u32 bytes_p_samp
 
u32 ratio_aligned
 
Fixed speed
 
Fixed pan [GF_AUDIO_MIXER_MAX_CHANNELS]
 
s32(* get_sample )(u8 *data, u32 nb_ch, u32 sample_offset, u32 channel, u32 planar_stride)
 
Bool is_planar
 
Bool muted
 

Field Documentation

◆ src

GF_AudioInterface* MixerInput::src

◆ ch_buf

s32* MixerInput::ch_buf[GF_AUDIO_MIXER_MAX_CHANNELS]

◆ buffer_size

u32 MixerInput::buffer_size

◆ bytes_per_sec

u32 MixerInput::bytes_per_sec

◆ bit_depth

u32 MixerInput::bit_depth

◆ has_prev

Bool MixerInput::has_prev

◆ last_channels

s32 MixerInput::last_channels[GF_AUDIO_MIXER_MAX_CHANNELS]

◆ in_bytes_used

u32 MixerInput::in_bytes_used

◆ out_samples_written

u32 MixerInput::out_samples_written

◆ out_samples_to_write

u32 MixerInput::out_samples_to_write

◆ out_samples_pos

u32 MixerInput::out_samples_pos

◆ in_samples_pos

u32 MixerInput::in_samples_pos

◆ scaled_sr

u32 MixerInput::scaled_sr

◆ bytes_p_samp

u32 MixerInput::bytes_p_samp

◆ ratio_aligned

u32 MixerInput::ratio_aligned

◆ speed

Fixed MixerInput::speed

◆ pan

◆ get_sample

s32(* MixerInput::get_sample) (u8 *data, u32 nb_ch, u32 sample_offset, u32 channel, u32 planar_stride)

◆ is_planar

Bool MixerInput::is_planar

◆ muted

Bool MixerInput::muted