mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-24 12:30:17 +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__
|
#ifdef __APPLE__
|
||||||
#include <Accelerate/Accelerate.h>
|
#include <Accelerate/Accelerate.h>
|
||||||
#else
|
|
||||||
#define kCSKaiserBesselFilterFixedMultiplier 32767.0f
|
|
||||||
#define kCSKaiserBesselFilterFixedShift 15
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace SignalProcessing {
|
namespace SignalProcessing {
|
||||||
|
|
||||||
class FIRFilter {
|
class FIRFilter {
|
||||||
|
private:
|
||||||
|
static constexpr float kCSKaiserBesselFilterFixedMultiplier = 32767.0f;
|
||||||
|
static constexpr int kCSKaiserBesselFilterFixedShift = 15;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/*!
|
/*!
|
||||||
Creates an instance of @c FIRFilter.
|
Creates an instance of @c FIRFilter.
|
||||||
|
Loading…
Reference in New Issue
Block a user