雾聪
2024-03-05 e144cb9dacbabf590615ba2dd76287e34fee7473
export audio for win32
1个文件已修改
11 ■■■■■ 已修改文件
runtime/onnxruntime/include/audio.h 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
runtime/onnxruntime/include/audio.h
@@ -40,7 +40,16 @@
    int global_end = 0;   // the end of a frame in the global time axis. in ms
};
class Audio {
#ifdef _WIN32
#ifdef _FUNASR_API_EXPORT
#define DLLAPI __declspec(dllexport)
#else
#define DLLAPI __declspec(dllimport)
#endif
#else
#define DLLAPI
#endif
class DLLAPI Audio {
  private:
    float *speech_data=nullptr;
    int16_t *speech_buff=nullptr;