雾聪
2023-08-09 fd22b6e7f36e963ef29dbd3eafb0e0d6f2e12fa7
funasr/runtime/onnxruntime/bin/funasr-onnx-online-vad.cpp
@@ -159,7 +159,7 @@
        char* speech_buff = audio.GetSpeechChar();
        int buff_len = audio.GetSpeechLen()*2;
        int step = 3200;
        int step = 800*2;
        bool is_final = false;
        for (int sample_offset = 0; sample_offset < buff_len; sample_offset += std::min(step, buff_len - sample_offset)) {