mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 20:06:02 +02:00
Fix Mac and Linux builds
This commit is contained in:
parent
2d1150115f
commit
b983ba7056
1 changed files with 2 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
#include <string.h>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
#include "AudioSRC.h"
|
#include "AudioSRC.h"
|
||||||
|
@ -452,7 +453,7 @@ int AudioSRC::getMaxInput(int outputFrames)
|
||||||
// passband ripple = +-0.01dB
|
// passband ripple = +-0.01dB
|
||||||
// stopband attn = -125dB (-70dB at 1.000)
|
// stopband attn = -125dB (-70dB at 1.000)
|
||||||
//
|
//
|
||||||
static const float prototypeFilter[PROTOTYPE_COEFS] = {
|
const float prototypeFilter[PROTOTYPE_COEFS] = {
|
||||||
0.00000000e+00f, 8.94334221e-05f, 4.15886168e-06f, 1.15314035e-05f, 1.57443387e-05f, 1.24616776e-05f,
|
0.00000000e+00f, 8.94334221e-05f, 4.15886168e-06f, 1.15314035e-05f, 1.57443387e-05f, 1.24616776e-05f,
|
||||||
1.28620094e-05f, 1.39511538e-05f, 1.45614380e-05f, 1.49675544e-05f, 1.58550483e-05f, 1.71848978e-05f,
|
1.28620094e-05f, 1.39511538e-05f, 1.45614380e-05f, 1.49675544e-05f, 1.58550483e-05f, 1.71848978e-05f,
|
||||||
1.78226308e-05f, 1.83369205e-05f, 1.87336260e-05f, 1.89712176e-05f, 1.98944111e-05f, 2.20175866e-05f,
|
1.78226308e-05f, 1.83369205e-05f, 1.87336260e-05f, 1.89712176e-05f, 1.98944111e-05f, 2.20175866e-05f,
|
||||||
|
|
Loading…
Reference in a new issue