pub struct TestToneProcessor { /* private fields */ }Expand description
A minimal test tone source that produces a sine wave.
Trait Implementations§
Source§impl Default for TestToneProcessor
impl Default for TestToneProcessor
Source§fn default() -> TestToneProcessor
fn default() -> TestToneProcessor
Returns the “default value” for a type. Read more
Source§impl Processor for TestToneProcessor
impl Processor for TestToneProcessor
Source§type Params = TestToneProcessorParams
type Params = TestToneProcessorParams
Associated parameter type for this processor. Read more
Source§fn set_sample_rate(&mut self, sample_rate: f32)
fn set_sample_rate(&mut self, sample_rate: f32)
Called when the sample rate changes. Read more
Auto Trait Implementations§
impl Freeze for TestToneProcessor
impl RefUnwindSafe for TestToneProcessor
impl Send for TestToneProcessor
impl Sync for TestToneProcessor
impl Unpin for TestToneProcessor
impl UnsafeUnpin for TestToneProcessor
impl UnwindSafe for TestToneProcessor
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