pub struct InputAudioNoiseReduction {
pub type: Option<Type>,
}
Expand description
Configuration for input audio noise reduction. This can be set to null
to turn off.
Noise reduction filters audio added to the input audio buffer before it is sent to VAD and the model.
Filtering the audio can improve VAD and turn detection accuracy (reducing false positives) and model performance by improving perception of the input audio.
Fields§
§type: Option<Type>
Type of noise reduction. near_field
is for close-talking microphones such as headphones, far_field
is for far-field microphones such as laptop or conference room microphones.
Implementations§
Trait Implementations§
Source§impl Clone for InputAudioNoiseReduction
impl Clone for InputAudioNoiseReduction
Source§fn clone(&self) -> InputAudioNoiseReduction
fn clone(&self) -> InputAudioNoiseReduction
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 InputAudioNoiseReduction
impl Debug for InputAudioNoiseReduction
Source§impl Default for InputAudioNoiseReduction
impl Default for InputAudioNoiseReduction
Source§fn default() -> InputAudioNoiseReduction
fn default() -> InputAudioNoiseReduction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputAudioNoiseReduction
impl<'de> Deserialize<'de> for InputAudioNoiseReduction
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InputAudioNoiseReduction
impl PartialEq for InputAudioNoiseReduction
Source§impl Serialize for InputAudioNoiseReduction
impl Serialize for InputAudioNoiseReduction
impl Copy for InputAudioNoiseReduction
impl StructuralPartialEq for InputAudioNoiseReduction
Auto Trait Implementations§
impl Freeze for InputAudioNoiseReduction
impl RefUnwindSafe for InputAudioNoiseReduction
impl Send for InputAudioNoiseReduction
impl Sync for InputAudioNoiseReduction
impl Unpin for InputAudioNoiseReduction
impl UnwindSafe for InputAudioNoiseReduction
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