SlotChecker.h 591 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #ifdef SLOTCHECKER
  3. #define SlotExport __declspec(dllexport)
  4. #else
  5. #define SlotExport __declspec(dllimport)
  6. #endif
  7. extern "C"
  8. {
  9. // 释放内存
  10. SlotExport void freeslots(float *slotst, float *slotle);
  11. // 获取时间
  12. // ifile 输入文件
  13. // fbasetime y M d H m s
  14. // frequenceM 文件对应频点
  15. // fsampleM 原始文件采样率
  16. // multi 抽取倍数
  17. // slotscount 突发个数
  18. // slotst 开始时间 s
  19. // slotle 持续时间 ms
  20. SlotExport int getslots(char *ifile, unsigned char fbasetime[6]
  21. , float *frequenceM, float *fsampleM, int *multi
  22. , int *slotscount, float **slotst, float **slotle);
  23. };