pub struct AudioPreprocessingConfig {
pub noise_suppression: bool,
pub agc: bool,
pub echo_cancellation: bool,
pub bandwidth_extension: bool,
pub advanced_spectral: bool,
pub adaptive_algorithms: bool,
pub sample_rate: u32,
pub buffer_size: usize,
pub advanced_spectral_config: Option<AdvancedSpectralConfig>,
pub adaptive_config: Option<AdaptiveConfig>,
}Expand description
Audio preprocessing configuration
Fields§
§noise_suppression: boolEnable noise suppression
agc: boolEnable automatic gain control
echo_cancellation: boolEnable echo cancellation
bandwidth_extension: boolEnable bandwidth extension
advanced_spectral: boolEnable advanced spectral processing
adaptive_algorithms: boolEnable adaptive algorithms
sample_rate: u32Sample rate for processing
buffer_size: usizeBuffer size for real-time processing
advanced_spectral_config: Option<AdvancedSpectralConfig>Advanced spectral processing configuration
adaptive_config: Option<AdaptiveConfig>Adaptive algorithms configuration
Trait Implementations§
Source§impl Clone for AudioPreprocessingConfig
impl Clone for AudioPreprocessingConfig
Source§fn clone(&self) -> AudioPreprocessingConfig
fn clone(&self) -> AudioPreprocessingConfig
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 AudioPreprocessingConfig
impl Debug for AudioPreprocessingConfig
Auto Trait Implementations§
impl Freeze for AudioPreprocessingConfig
impl RefUnwindSafe for AudioPreprocessingConfig
impl Send for AudioPreprocessingConfig
impl Sync for AudioPreprocessingConfig
impl Unpin for AudioPreprocessingConfig
impl UnwindSafe for AudioPreprocessingConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more