pub struct Control { /* private fields */ }Expand description
Controls echo cancellation between one playback::Engine and microphone.
Built by Engine::canceller and handed to
capture::Config::aec, which is the whole of
the usual surface.
Cheap to clone. Every clone can toggle the same adaptive filter, but capture acquires an exclusive attachment before opening a microphone, so clones cannot run that state against two inputs. The playback reference goes away when the last control and attachment drop.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnsafeUnpin for Control
impl UnwindSafe for Control
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