|
| SnowboyVad (const std::string &resource_filename) |
| Default constructor. More...
|
|
bool | Reset () |
| Resets the vad. More...
|
|
int | RunVad (const std::string &data, bool is_end=false) |
| Runs the VAD algorithm. More...
|
|
int | RunVad (const float *const data, const int array_length, bool is_end=false) |
| Runs vad on float samples. More...
|
|
int | RunVad (const int16_t *const data, const int array_length, bool is_end=false) |
| Runs vad on int16_t samples. More...
|
|
int | RunVad (const int32_t *const data, const int array_length, bool is_end=false) |
| Runs vad on int32_t samples. More...
|
|
void | SetAudioGain (const float audio_gain) |
| Apply a fixed gain to the input audio. More...
|
|
void | ApplyFrontend (const bool apply_frontend) |
| Enable or disable audio frontend (NS & AGC). More...
|
|
int | SampleRate () const |
| Returns the expected sample rate for audio provided to RunDetection(). More...
|
|
int | NumChannels () const |
| Returns the expected number of channels for audio provided to RunDetection(). More...
|
|
int | BitsPerSample () const |
| Returns the expected number of bits for audio provided to RunDetection(). More...
|
|
| ~SnowboyVad () |
| Destructor.
|
|
The documentation for this struct was generated from the following file: