C API for speaker diarization (#1402)

This commit is contained in:
Fangjun Kuang
2024-10-09 17:10:03 +08:00
committed by GitHub
parent 8535b1d3bb
commit d468527f62
9 changed files with 418 additions and 7 deletions

View File

@@ -7,7 +7,7 @@
#include "sherpa-onnx/csrc/wave-reader.h"
static int32_t ProgressCallback(int32_t processed_chunks, int32_t num_chunks,
void *arg) {
void *) {
float progress = 100.0 * processed_chunks / num_chunks;
fprintf(stderr, "progress %.2f%%\n", progress);