dyyzhmm
2023-03-15 378ced7edb0cb9957263675215192e19e490d226
funasr/runtime/onnxruntime/include/Audio.h
@@ -44,10 +44,16 @@
    ~Audio();
    void disp();
    bool loadwav(const char *filename);
    bool loadwav(const char* buf, int nLen);
    bool loadpcmwav(const char* buf, int nFileLen);
    bool loadpcmwav(const char* filename);
    int fetch_chunck(float *&dout, int len);
    int fetch(float *&dout, int &len, int &flag);
    void padding();
    void split();
    float get_time_len();
    int get_queue_size() { return (int)frame_queue.size(); }
};
#endif