Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed May 28, 2024
1 parent 9a682f8 commit b7fe9d0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/check_style_cpplint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function do_check() {
;;
2)
echo "Check all files"
files=$(find $sherpa_onnx_dir/sherpa-onnx -name "*.h" -o -name "*.cc")
files=$(find $sherpa_onnx_dir/sherpa-onnx/csrc $sherpa_onnx_dir/sherpa-onnx/python $sherpa_onnx_dir/scripts/node-addon-api/src $sherpa_onnx_dir/sherpa-onnx/jni $sherpa_onnx_dir/sherpa-onnx/c-api -name "*.h" -o -name "*.cc")
;;
*)
echo "Check last commit"
Expand Down
1 change: 1 addition & 0 deletions scripts/node-addon-api/src/non-streaming-tts.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Copyright (c) 2024 Xiaomi Corporation

#include <algorithm>
#include <sstream>

#include "macros.h" // NOLINT
Expand Down
1 change: 1 addition & 0 deletions scripts/node-addon-api/src/speaker-identification.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// scripts/node-addon-api/src/speaker-identification.cc
//
// Copyright (c) 2024 Xiaomi Corporation
#include <algorithm>
#include <sstream>

#include "macros.h" // NOLINT
Expand Down
2 changes: 1 addition & 1 deletion scripts/node-addon-api/src/vad.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
//
// Copyright (c) 2024 Xiaomi Corporation

#include <algorithm>
#include <sstream>

#include "macros.h" // NOLINT
Expand Down Expand Up @@ -545,7 +546,6 @@ static Napi::Object VoiceActivityDetectorFrontWrapper(

return obj;
} else {
fprintf(stderr, "here!\n");
Napi::ArrayBuffer arrayBuffer =
Napi::ArrayBuffer::New(env, sizeof(float) * segment->n);

Expand Down

0 comments on commit b7fe9d0

Please sign in to comment.