Skip to content

Commit

Permalink
Fix releasing npm package and fix building Android VAD+ASR example (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj authored Aug 26, 2024
1 parent 452555b commit 17c8237
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,8 @@ class MainActivity : AppCompatActivity() {

vad.acceptWaveform(samples)
while(!vad.empty()) {
var objArray = vad.front()
val samples = objArray[1] as FloatArray
val text = runSecondPass(samples)
var segment = vad.front()
val text = runSecondPass(segment.samples)

if (text.isNotBlank()) {
lastText = "${lastText}\n${idx}: ${text}"
Expand Down
4 changes: 0 additions & 4 deletions scripts/nodejs/.gitignore

This file was deleted.

0 comments on commit 17c8237

Please sign in to comment.