Struct rsmpeg::ffi::AVDownmixInfo[][src]

#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.