1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-23 20:29:42 +00:00

Fixes the FIR filter again from the Apple side.

This commit is contained in:
Thomas Harte 2017-11-08 22:48:44 -05:00
parent c45d4831ec
commit 62218e81bf

View File

@ -29,14 +29,15 @@
#ifdef __APPLE__
#include <Accelerate/Accelerate.h>
#else
#define kCSKaiserBesselFilterFixedMultiplier 32767.0f
#define kCSKaiserBesselFilterFixedShift 15
#endif
namespace SignalProcessing {
class FIRFilter {
private:
static constexpr float kCSKaiserBesselFilterFixedMultiplier = 32767.0f;
static constexpr int kCSKaiserBesselFilterFixedShift = 15;
public:
/*!
Creates an instance of @c FIRFilter.