#[repr(C)]
pub struct AVDownmixInfo { pub preferred_downmix_type: AVDownmixType, 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: AVDownmixType

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

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

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

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.