pub struct AudioReadConfig {
pub start: Start,
pub stop: Stop,
pub first_channel: Option<usize>,
pub last_channel: Option<usize>,
}Fields§
§start: StartWhere to start reading audio (time or frame-based)
stop: StopWhere to stop reading audio (time or frame-based)
first_channel: Option<usize>First channel to extract (0-indexed). None means start from channel 0.
last_channel: Option<usize>Last channel to extract (exclusive). None means extract to the last channel.
Trait Implementations§
Source§impl Default for AudioReadConfig
impl Default for AudioReadConfig
Source§fn default() -> AudioReadConfig
fn default() -> AudioReadConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AudioReadConfig
impl RefUnwindSafe for AudioReadConfig
impl Send for AudioReadConfig
impl Sync for AudioReadConfig
impl Unpin for AudioReadConfig
impl UnwindSafe for AudioReadConfig
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