pub struct VoiceDetection {
pub detection_likelihood: VoiceDetectionLikelihood,
}
Expand description
Voice detection configuration.
Fields§
§detection_likelihood: VoiceDetectionLikelihood
Specifies the likelihood that a frame will be declared to contain voice. A higher value makes it more likely that speech will not be clipped, at the expense of more noise being detected as voice.
Trait Implementations§
Source§impl Clone for VoiceDetection
impl Clone for VoiceDetection
Source§fn clone(&self) -> VoiceDetection
fn clone(&self) -> VoiceDetection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VoiceDetection
impl Debug for VoiceDetection
Source§impl From<VoiceDetection> for VoiceDetection
impl From<VoiceDetection> for VoiceDetection
Source§fn from(other: VoiceDetection) -> VoiceDetection
fn from(other: VoiceDetection) -> VoiceDetection
Converts to this type from the input type.
Source§impl PartialEq for VoiceDetection
impl PartialEq for VoiceDetection
impl StructuralPartialEq for VoiceDetection
Auto Trait Implementations§
impl Freeze for VoiceDetection
impl RefUnwindSafe for VoiceDetection
impl Send for VoiceDetection
impl Sync for VoiceDetection
impl Unpin for VoiceDetection
impl UnwindSafe for VoiceDetection
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