Struct webrtc_media::track::constraint::audio::AudioBuilder
source · [−]pub struct AudioBuilder { /* private fields */ }Expand description
Builder for Audio.
Implementations
sourceimpl AudioBuilder
impl AudioBuilder
pub fn sample_rate<VALUE: Into<SampleRate>>(&mut self, value: VALUE) -> &mut Self
pub fn sample_size<VALUE: Into<SampleSize>>(&mut self, value: VALUE) -> &mut Self
pub fn echo_cancellation<VALUE: Into<EchoCancellation>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn auto_gain_control<VALUE: Into<AutoGainControl>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn noise_suppression<VALUE: Into<NoiseSuppression>>(
&mut self,
value: VALUE
) -> &mut Self
pub fn latency<VALUE: Into<Latency>>(&mut self, value: VALUE) -> &mut Self
pub fn channel_count<VALUE: Into<ChannelCount>>(
&mut self,
value: VALUE
) -> &mut Self
Trait Implementations
sourceimpl Clone for AudioBuilder
impl Clone for AudioBuilder
sourcefn clone(&self) -> AudioBuilder
fn clone(&self) -> AudioBuilder
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for AudioBuilder
impl Send for AudioBuilder
impl Sync for AudioBuilder
impl Unpin for AudioBuilder
impl UnwindSafe for AudioBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more