pub struct AudioSettings {
pub auto_gain: bool,
pub echo_cancel: bool,
pub noise_suppress: bool,
pub mic_volume: f32,
pub speaker_volume: f32,
}Fields§
§auto_gain: bool§echo_cancel: bool§noise_suppress: bool§mic_volume: f32What we send, 0.0 to 1.0, applied after the processing so a test hears it.
speaker_volume: f32Everything a call plays, 0.0 to 1.0, on top of the in-call volume.
Trait Implementations§
Source§impl Clone for AudioSettings
impl Clone for AudioSettings
impl Copy for AudioSettings
Source§impl Debug for AudioSettings
impl Debug for AudioSettings
Source§impl Default for AudioSettings
impl Default for AudioSettings
Source§impl<'de> Deserialize<'de> for AudioSettings
impl<'de> Deserialize<'de> for AudioSettings
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 AudioSettings
impl PartialEq for AudioSettings
Source§impl Serialize for AudioSettings
impl Serialize for AudioSettings
impl StructuralPartialEq for AudioSettings
Auto Trait Implementations§
impl Forget for AudioSettings
impl Freeze for AudioSettings
impl Move for AudioSettings
impl RefUnwindSafe for AudioSettings
impl Send for AudioSettings
impl Sync for AudioSettings
impl Unpin for AudioSettings
impl UnsafeUnpin for AudioSettings
impl UnwindSafe for AudioSettings
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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