stats.h 364 B

12345678910111213141516171819
  1. #pragma once
  2. #include <bfc/platform/types.h>
  3. #include <bfc/platform/export.h>
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #ifdef NSUTIL_EXPORTS
  8. #define NSUTIL_EXPORT __declspec(dllexport)
  9. #else
  10. #define NSUTIL_EXPORT __declspec(dllimport)
  11. #endif
  12. NSUTIL_EXPORT int nsutil_stats_RMS_F32(const float *buffer, size_t num_samples, float *rms);
  13. #ifdef __cplusplus
  14. }
  15. #endif