Skip to content

Commit

Permalink
Merge pull request #55 from Ivy233/main
Browse files Browse the repository at this point in the history
Fix: Ensure proper return value in silero VAD encoding function
  • Loading branch information
lovemefan authored Feb 6, 2025
2 parents f6274d5 + 6649b78 commit 3e324cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sense-voice/csrc/silero-vad.cc
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,5 @@ bool silero_vad_encode_internal(sense_voice_context &ctx,
}
ggml_backend_tensor_get(ggml_graph_get_tensor(gf, "logit"), &speech_prob, 0, sizeof(speech_prob));
}
return true;
}

0 comments on commit 3e324cc

Please sign in to comment.