Fix node addon tests (#865)

* Install naudiodon2 manually.

It is needed only when using a microphone. The CI tests don't need it.
This commit is contained in:
Fangjun Kuang
2024-05-12 12:03:43 +08:00
committed by GitHub
parent eee5d8a15c
commit 7322f4e0a3
5 changed files with 11 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ static void DecodeOne(const float *log_probs, int32_t num_rows,
std::ostringstream os;
int32_t prev_id = -1;
int32_t num_trailing_blanks = 0;
int32_t &num_trailing_blanks = result->num_trailing_blanks;
int32_t f = 0; // frame number
for (auto i : isymbols_out) {