[][src]Struct rsnowboy::SnowboyVad

pub struct SnowboyVad { /* fields omitted */ }

Methods

impl SnowboyVad[src]

pub fn new<S>(resource_filename: S) -> Self where
    S: AsRef<str>, 
[src]

pub fn reset(&self) -> bool[src]

pub fn run_char(&self, data: *const c_char) -> i32[src]

pub fn run_float_array(
    &self,
    data: *const f32,
    array_length: c_int,
    is_end: bool
) -> i32
[src]

pub fn run_short_array(
    &self,
    data: *const i16,
    array_length: c_int,
    is_end: bool
) -> i32
[src]

pub fn run_integer_array(
    &self,
    data: *const i32,
    array_length: c_int,
    is_end: bool
) -> i32
[src]

pub fn set_audio_gain(&self, audio_gain: f32)[src]

pub fn apply_frontend(&self, apply_frontend: bool)[src]

pub fn sample_rate(&self) -> i32[src]

pub fn num_channels(&self) -> i32[src]

pub fn bits_per_sample(&self) -> i32[src]

pub fn destroy(&self)[src]

Trait Implementations

impl Copy for SnowboyVad[src]

impl Clone for SnowboyVad[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SnowboyVad[src]

Auto Trait Implementations

impl !Send for SnowboyVad

impl !Sync for SnowboyVad

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]