Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.
Python asraudiochineseemotion-recognitionfunasrmcp-servermultilingual-asropenai-compatible-apiparaformerpunctuationpytorchreal-time-asrspeaker-diarizationspeech-recognitionspeech-to-textstreaming-asrtranscriptionvllmvoice-activity-detectionwhisper-alternative
return null for 2pass other wav_format
雾聪3a32a6e878b3
diff --git a/funasr/runtime/onnxruntime/src/funasrruntime.cpp b/funasr/runtime/onnxruntime/src/funasrruntime.cppindex 4946a221c..a10e3ecc7 100644--- a/funasr/runtime/onnxruntime/src/funasrruntime.cpp+++ b/funasr/runtime/onnxruntime/src/funasrruntime.cpp@@ -390,7 +390,7 @@ extern "C" {// if (!audio->FfmpegLoad(sz_buf, n_len))// return nullptr;LOG(ERROR) <<"Wrong wav_format: " << wav_format ;- exit(-1);+ return nullptr;}funasr::FUNASR_RECOG_RESULT* p_result = new funasr::FUNASR_RECOG_RESULT;