pub struct InputAudioConfig {
pub stages: Vec<InputStage>,
pub vad: Option<VadConfig>,
pub client_authority: bool,
pub turn_commit: Option<TurnCommitConfig>,
}Expand description
Input-audio hardening configuration accumulated by the builder and
applied to the LiveHandle right
after connect. Stages run over each outgoing frame in the order they
were configured — chain the denoiser before the gate so the gate
calibrates on clean levels (see Live::mic_denoise,
Live::mic_noise_gate, Live::mic_processor, Live::input_vad,
Live::client_interruption_authority).
Fields§
§stages: Vec<InputStage>Ordered mic-chain stages.
vad: Option<VadConfig>Replacement input-VAD configuration.
Client VAD sends activity marks; server auto-detection is disabled.
turn_commit: Option<TurnCommitConfig>Turn-commit policy between VAD edges and activity marks.
Implementations§
Source§impl InputAudioConfig
impl InputAudioConfig
Sourcepub fn is_configured(&self) -> bool
pub fn is_configured(&self) -> bool
Whether any part of the input path is configured.
Trait Implementations§
Source§impl Default for InputAudioConfig
impl Default for InputAudioConfig
Source§fn default() -> InputAudioConfig
fn default() -> InputAudioConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InputAudioConfig
impl !RefUnwindSafe for InputAudioConfig
impl Send for InputAudioConfig
impl !Sync for InputAudioConfig
impl Unpin for InputAudioConfig
impl !UnwindSafe for InputAudioConfig
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<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].