pub struct OscillatorNode { /* private fields */ }Expand description
An audio source that generates periodic waveforms.
Currently, it generates a sine wave at the specified frequency. It runs a background thread to generate samples and uses a ring buffer to communicate with the audio processing thread.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for OscillatorNode
impl !RefUnwindSafe for OscillatorNode
impl Send for OscillatorNode
impl !Sync for OscillatorNode
impl Unpin for OscillatorNode
impl UnsafeUnpin for OscillatorNode
impl UnwindSafe for OscillatorNode
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