pub struct MonoToStereo;Expand description
Duplicate a mono i16 stream onto two channels. Byte-exact.
Trait Implementations§
Source§impl Clone for MonoToStereo
impl Clone for MonoToStereo
Source§fn clone(&self) -> MonoToStereo
fn clone(&self) -> MonoToStereo
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 moreimpl Copy for MonoToStereo
Source§impl Debug for MonoToStereo
impl Debug for MonoToStereo
Source§impl Default for MonoToStereo
impl Default for MonoToStereo
Source§fn default() -> MonoToStereo
fn default() -> MonoToStereo
Returns the “default value” for a type. Read more
Source§impl Element for MonoToStereo
impl Element for MonoToStereo
Source§fn output_format(&self, input: PcmFormat) -> Result<PcmFormat>
fn output_format(&self, input: PcmFormat) -> Result<PcmFormat>
The format this element emits for blocks in
input, or
Err(Unsupported) if it cannot take input at all.Source§fn max_output_bytes(&self, _input: PcmFormat, input_bytes: usize) -> usize
fn max_output_bytes(&self, _input: PcmFormat, input_bytes: usize) -> usize
Upper bound on the bytes
process writes for an input
block of input_bytes bytes in input. Defaults to input_bytes
(same-size elements); resamplers and channel converters override it.Auto Trait Implementations§
impl Freeze for MonoToStereo
impl RefUnwindSafe for MonoToStereo
impl Send for MonoToStereo
impl Sync for MonoToStereo
impl Unpin for MonoToStereo
impl UnsafeUnpin for MonoToStereo
impl UnwindSafe for MonoToStereo
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