pub struct PlaybackSettings {
pub normalize: Mode,
pub sample_rate: Option<u32>,
pub bass_db: f32,
pub treble_db: f32,
}Expand description
Processing settings restored explicitly with a native-player profile.
Fields§
§normalize: ModeLoudness scope; these settings never modify encoded source files.
sample_rate: Option<u32>Requested PCM output rate, or the source-selected default.
bass_db: f32Broad bass shelf in decibels, -12 through +12.
treble_db: f32Broad treble shelf in decibels, -12 through +12.
Trait Implementations§
Source§impl Clone for PlaybackSettings
impl Clone for PlaybackSettings
Source§fn clone(&self) -> PlaybackSettings
fn clone(&self) -> PlaybackSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlaybackSettings
impl Debug for PlaybackSettings
Source§impl Default for PlaybackSettings
impl Default for PlaybackSettings
Source§impl PartialEq for PlaybackSettings
impl PartialEq for PlaybackSettings
impl StructuralPartialEq for PlaybackSettings
Auto Trait Implementations§
impl Freeze for PlaybackSettings
impl RefUnwindSafe for PlaybackSettings
impl Send for PlaybackSettings
impl Sync for PlaybackSettings
impl Unpin for PlaybackSettings
impl UnwindSafe for PlaybackSettings
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