7 extern void SNOWMAN_free(
void*);
14 SNOWMAN_Detect* SNOWMAN_Detect_Create(
const char* resource_filename,
const char* model_str);
16 int SNOWMAN_Detect_RunDetectionWave(
SNOWMAN_Detect* instance,
const void* data,
unsigned int len,
int is_end);
17 int SNOWMAN_Detect_RunDetectionFloat(
SNOWMAN_Detect* instance,
const float* data,
unsigned int num_samples,
int is_end);
18 int SNOWMAN_Detect_RunDetectionShort(
SNOWMAN_Detect* instance,
const short* data,
unsigned int num_samples,
int is_end);
19 int SNOWMAN_Detect_RunDetectionInt(
SNOWMAN_Detect* instance,
const int* data,
unsigned int num_samples,
int is_end);
20 int SNOWMAN_Detect_SetSensitivity(
SNOWMAN_Detect* instance,
const char* sensitivity);
21 int SNOWMAN_Detect_SetHighSensitivity(
SNOWMAN_Detect* instance,
const char* sensitivity);
23 int SNOWMAN_Detect_GetSensitivity(
SNOWMAN_Detect* instance,
char** pointer);
24 int SNOWMAN_Detect_SetAudioGain(
SNOWMAN_Detect* instance,
float gain);
27 int SNOWMAN_Detect_ApplyFrontend(
SNOWMAN_Detect* instance,
int apply);
33 SNOWMAN_Vad* SNOWMAN_Vad_Create(
const char* resource_filename);
35 int SNOWMAN_Vad_RunVadWave(
SNOWMAN_Vad* instance,
const void* data,
unsigned int len,
int is_end);
36 int SNOWMAN_Vad_RunVadFloat(
SNOWMAN_Vad* instance,
const float* data,
unsigned int num_samples,
int is_end);
37 int SNOWMAN_Vad_RunVadShort(
SNOWMAN_Vad* instance,
const short* data,
unsigned int num_samples,
int is_end);
38 int SNOWMAN_Vad_RunVadInt(
SNOWMAN_Vad* instance,
const int* data,
unsigned int num_samples,
int is_end);
39 int SNOWMAN_Vad_SetAudioGain(
SNOWMAN_Vad* instance,
float gain);
40 int SNOWMAN_Vad_ApplyFrontend(
SNOWMAN_Vad* instance,
int apply);
43 int SNOWMAN_Vad_BitsPerSample(
SNOWMAN_Vad* instance);
46 SNOWMAN_PersonalEnroll* SNOWMAN_PersonalEnroll_Create(
const char* resource_filename,
const char* model_str);
48 int SNOWMAN_PersonalEnroll_RunEnrollmentWave(
SNOWMAN_PersonalEnroll* instance,
const void* data,
unsigned int len);
49 int SNOWMAN_PersonalEnroll_RunEnrollmentFloat(
SNOWMAN_PersonalEnroll* instance,
const float* data,
unsigned int num_samples);
50 int SNOWMAN_PersonalEnroll_RunEnrollmentShort(
SNOWMAN_PersonalEnroll* instance,
const short* data,
unsigned int num_samples);
51 int SNOWMAN_PersonalEnroll_RunEnrollmentInt(
SNOWMAN_PersonalEnroll* instance,
const int* data,
unsigned int num_samples);
61 int SNOWMAN_TemplateCut_CutTemplateWave(
SNOWMAN_TemplateCut* instance,
const void* indata,
unsigned int inlen,
void** outdata,
unsigned int* outlen);
Definition: snowboy-detect-c.cpp:13
Definition: snowboy-detect-c.cpp:21
Definition: snowboy-detect-c.cpp:25
Definition: snowboy-detect-c.cpp:17