Struct AVDownmixInfo
#[repr(C)]pub struct AVDownmixInfo {
pub preferred_downmix_type: u32,
pub center_mix_level: f64,
pub center_mix_level_ltrt: f64,
pub surround_mix_level: f64,
pub surround_mix_level_ltrt: f64,
pub lfe_mix_level: f64,
}
Expand description
This structure describes optional metadata relevant to a downmix procedure.
All fields are set by the decoder to the value indicated in the audio bitstream (if present), or to a “sane” default otherwise.
Fields§
§preferred_downmix_type: u32
Type of downmix preferred by the mastering engineer.
center_mix_level: f64
Absolute scale factor representing the nominal level of the center channel during a regular downmix.
center_mix_level_ltrt: f64
Absolute scale factor representing the nominal level of the center channel during an Lt/Rt compatible downmix.
surround_mix_level: f64
Absolute scale factor representing the nominal level of the surround channels during a regular downmix.
surround_mix_level_ltrt: f64
Absolute scale factor representing the nominal level of the surround channels during an Lt/Rt compatible downmix.
lfe_mix_level: f64
Absolute scale factor representing the level at which the LFE data is mixed into L/R channels during downmixing.
Trait Implementations§
§impl Clone for AVDownmixInfo
impl Clone for AVDownmixInfo
§fn clone(&self) -> AVDownmixInfo
fn clone(&self) -> AVDownmixInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more