pub struct ReferenceCleanup<'a> {
pub denoise: Option<&'a mut Option<DenoiseReport>>,
pub dereverb: Option<&'a mut Option<DereverbReport>>,
}Expand description
Which reference-cleanup stages to run, and where each reports what it measured.
Both default to off. Every stage changes the enrolled identity, so none of them is applied on a user’s behalf — a lever that can alter who the clone sounds like is opted into by name.
Fields§
§denoise: Option<&'a mut Option<DenoiseReport>>Spectral-subtract the stationary noise floor.
dereverb: Option<&'a mut Option<DereverbReport>>Remove late reverberation.
Trait Implementations§
Source§impl<'a> Default for ReferenceCleanup<'a>
impl<'a> Default for ReferenceCleanup<'a>
Source§fn default() -> ReferenceCleanup<'a>
fn default() -> ReferenceCleanup<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> !UnwindSafe for ReferenceCleanup<'a>
impl<'a> Freeze for ReferenceCleanup<'a>
impl<'a> RefUnwindSafe for ReferenceCleanup<'a>
impl<'a> Send for ReferenceCleanup<'a>
impl<'a> Sync for ReferenceCleanup<'a>
impl<'a> Unpin for ReferenceCleanup<'a>
impl<'a> UnsafeUnpin for ReferenceCleanup<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).