#[non_exhaustive]pub struct Audio {
pub lufs: f64,
pub high_boost: bool,
pub low_boost: bool,
/* private fields */
}
Expand description
Audio preprocessing configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.lufs: f64
Specify audio loudness normalization in loudness units relative to full scale (LUFS). Enter a value between -24 and 0 (the default), where:
- -24 is the Advanced Television Systems Committee (ATSC A/85) standard
- -23 is the EU R128 broadcast standard
- -19 is the prior standard for online mono audio
- -18 is the ReplayGain standard
- -16 is the prior standard for stereo audio
- -14 is the new online audio standard recommended by Spotify, as well as Amazon Echo
- 0 disables normalization
high_boost: bool
Enable boosting high frequency components. The default is false
.
Note: This field is not supported.
low_boost: bool
Enable boosting low frequency components. The default is false
.
Note: This field is not supported.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Audio
Auto Trait Implementations§
impl Freeze for Audio
impl RefUnwindSafe for Audio
impl Send for Audio
impl Sync for Audio
impl Unpin for Audio
impl UnwindSafe for Audio
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more