#[repr(C)]pub struct VoiceDetection {
pub enable: bool,
pub detection_likelihood: VoiceDetection_DetectionLikelihood,
}
Expand description
Voice detection configuration.
Fields§
§enable: bool
Whether to use voice detection.
detection_likelihood: VoiceDetection_DetectionLikelihood
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 Default for VoiceDetection
impl Default for VoiceDetection
Source§impl PartialEq for VoiceDetection
impl PartialEq for VoiceDetection
impl Copy 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