kmn1024
2025-06-25 443bc09c11f3cf89ffc573aab2021f0c933aa5b3
runtime/websocket/bin/websocket-server.h
@@ -122,9 +122,11 @@
                  bool itn,
                  int audio_fs,
                  std::string wav_format,
                  FUNASR_DEC_HANDLE& decoder_handle);
                  FUNASR_DEC_HANDLE& decoder_handle,
                  std::string svs_lang,
                  bool sys_itn);
  void initAsr(std::map<std::string, std::string>& model_path, int thread_num, bool use_gpu=false);
  void initAsr(std::map<std::string, std::string>& model_path, int thread_num, bool use_gpu=false, int batch_size=1);
  void on_message(websocketpp::connection_hdl hdl, message_ptr msg);
  void on_open(websocketpp::connection_hdl hdl);
  void on_close(websocketpp::connection_hdl hdl);