pub struct AudioOutputSettings { /* private fields */ }Expand description
Re-exports the AVPlayer framework surface for this item.
Builder for linear-PCM audio AVAssetReader output settings.
Implementations§
Source§impl AudioOutputSettings
impl AudioOutputSettings
Sourcepub const fn pcm_i16(sample_rate: f64, channel_count: u32) -> Self
pub const fn pcm_i16(sample_rate: f64, channel_count: u32) -> Self
Mirrors the AVPlayer framework constant fn.
Sourcepub const fn pcm_i32(sample_rate: f64, channel_count: u32) -> Self
pub const fn pcm_i32(sample_rate: f64, channel_count: u32) -> Self
Mirrors the AVPlayer framework constant fn.
Sourcepub const fn pcm_f32(sample_rate: f64, channel_count: u32) -> Self
pub const fn pcm_f32(sample_rate: f64, channel_count: u32) -> Self
Mirrors the AVPlayer framework constant fn.
Sourcepub const fn non_interleaved(self, non_interleaved: bool) -> Self
pub const fn non_interleaved(self, non_interleaved: bool) -> Self
Mirrors the AVPlayer framework constant fn.
Trait Implementations§
Source§impl Clone for AudioOutputSettings
impl Clone for AudioOutputSettings
Source§fn clone(&self) -> AudioOutputSettings
fn clone(&self) -> AudioOutputSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AudioOutputSettings
impl Debug for AudioOutputSettings
Source§impl PartialEq for AudioOutputSettings
impl PartialEq for AudioOutputSettings
Source§fn eq(&self, other: &AudioOutputSettings) -> bool
fn eq(&self, other: &AudioOutputSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AudioOutputSettings
impl Serialize for AudioOutputSettings
impl StructuralPartialEq for AudioOutputSettings
Auto Trait Implementations§
impl Freeze for AudioOutputSettings
impl RefUnwindSafe for AudioOutputSettings
impl Send for AudioOutputSettings
impl Sync for AudioOutputSettings
impl Unpin for AudioOutputSettings
impl UnsafeUnpin for AudioOutputSettings
impl UnwindSafe for AudioOutputSettings
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