5 #include <voicesdk/core/core_c_api.h>
11 typedef struct VoiceSdkAntispoofEngine VoiceSdkAntispoofEngine;
69 VoiceSdkAntispoofEngine* VoiceSdkAntispoofEngineCreate(
const char* init_path,
char** error_msg);
84 bool VoiceSdkAntispoofEngineIsSpoofWavFile(
const VoiceSdkAntispoofEngine* engine,
const char* wav_path,
99 bool VoiceSdkAntispoofEngineIsSpoofAudioFile(
const VoiceSdkAntispoofEngine* engine,
const char* audio_path,
117 bool VoiceSdkAntispoofEngineIsSpoofBytes(
const VoiceSdkAntispoofEngine* engine,
const uint8_t* bytes,
size_t num_bytes,
135 bool VoiceSdkAntispoofEngineIsSpoofPcm16Samples(
const VoiceSdkAntispoofEngine* engine,
const int16_t* pcm16_samples,
154 bool VoiceSdkAntispoofEngineIsSpoofFloatSamples(
const VoiceSdkAntispoofEngine* engine,
const float* float_samples,
164 void VoiceSdkAntispoofEngineRelease(VoiceSdkAntispoofEngine* engine);
Definition: antispoof_c_api.h:13
float score_vc
VC (Voice Conversion) attack score.
Definition: antispoof_c_api.h:57
float score
Human score.
Definition: antispoof_c_api.h:21
float score_tts
TTS (Text-To-Speech) attack score.
Definition: antispoof_c_api.h:45
float score_replay
Replay attack score.
Definition: antispoof_c_api.h:33