pub struct SineSource { /* private fields */ }Expand description
A deterministic test tone: a sine at freq_hz and peak amplitude, the
same on every channel, with timestamps that advance by block duration.
Implementations§
Trait Implementations§
Source§impl AudioSource for SineSource
impl AudioSource for SineSource
Source§impl Clone for SineSource
impl Clone for SineSource
Source§fn clone(&self) -> SineSource
fn clone(&self) -> SineSource
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 moreAuto Trait Implementations§
impl Freeze for SineSource
impl RefUnwindSafe for SineSource
impl Send for SineSource
impl Sync for SineSource
impl Unpin for SineSource
impl UnsafeUnpin for SineSource
impl UnwindSafe for SineSource
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