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:
parent
c45d4831ec
commit
62218e81bf
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user