#include <snowboy-detect.h>
Definition at line 22 of file snowboy-detect.h.
◆ SnowboyDetect()
snowboy::SnowboyDetect::SnowboyDetect |
( |
const std::string & |
resource_filename, |
|
|
const std::string & |
model_str |
|
) |
| |
◆ ~SnowboyDetect()
snowboy::SnowboyDetect::~SnowboyDetect |
( |
| ) |
|
◆ ApplyFrontend()
void snowboy::SnowboyDetect::ApplyFrontend |
( |
const bool |
apply_frontend | ) |
|
◆ BitsPerSample()
int snowboy::SnowboyDetect::BitsPerSample |
( |
| ) |
const |
◆ GetSensitivity()
std::string snowboy::SnowboyDetect::GetSensitivity |
( |
| ) |
const |
◆ NumChannels()
int snowboy::SnowboyDetect::NumChannels |
( |
| ) |
const |
◆ NumHotwords()
int snowboy::SnowboyDetect::NumHotwords |
( |
| ) |
const |
◆ Reset()
bool snowboy::SnowboyDetect::Reset |
( |
| ) |
|
◆ RunDetection() [1/4]
int snowboy::SnowboyDetect::RunDetection |
( |
const float *const |
data, |
|
|
const int |
array_length |
|
) |
| |
◆ RunDetection() [2/4]
int snowboy::SnowboyDetect::RunDetection |
( |
const int16_t *const |
data, |
|
|
const int |
array_length |
|
) |
| |
◆ RunDetection() [3/4]
int snowboy::SnowboyDetect::RunDetection |
( |
const int32_t *const |
data, |
|
|
const int |
array_length |
|
) |
| |
◆ RunDetection() [4/4]
int snowboy::SnowboyDetect::RunDetection |
( |
const std::string & |
data | ) |
|
◆ SampleRate()
int snowboy::SnowboyDetect::SampleRate |
( |
| ) |
const |
◆ SetAudioGain()
void snowboy::SnowboyDetect::SetAudioGain |
( |
const float |
audio_gain | ) |
|
◆ SetSensitivity()
void snowboy::SnowboyDetect::SetSensitivity |
( |
const std::string & |
sensitivity_str | ) |
|
◆ UpdateModel()
void snowboy::SnowboyDetect::UpdateModel |
( |
| ) |
const |
◆ detect_pipeline_
◆ wave_header_
The documentation for this class was generated from the following file: