forked from avaneev/r8brain-free-src
-
Notifications
You must be signed in to change notification settings - Fork 0
/
r8bbase.cpp
39 lines (32 loc) · 1.31 KB
/
r8bbase.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/**
* @file r8bbase.cpp
*
* @brief C++ file that should be compiled and included into your application.
*
* This is a single library file that should be compiled and included into the
* project that uses the "r8brain-free-src" sample rate converter. This file
* defines several global static objects used by the library.
*
* You may also need to include to your project: the "Kernel32" library
* (on Windows) and the "pthread" library on Mac OS X and Linux.
*
* r8brain-free-src Copyright (c) 2013-2019 Aleksey Vaneev
* See the "License.txt" file for license.
*/
#include "CDSPFIRFilter.h"
#include "CDSPFracInterpolator.h"
namespace r8b {
#if R8B_FLTTEST
int InterpFilterFracs = -1;
int InterpFilterFracsThird = -1;
#endif // R8B_FLTTEST
CSyncObject CDSPRealFFTKeeper :: StateSync;
CDSPRealFFT :: CObjKeeper CDSPRealFFTKeeper :: FFTObjects[ 31 ];
CSyncObject CDSPFIRFilterCache :: StateSync;
CPtrKeeper< CDSPFIRFilter* > CDSPFIRFilterCache :: Objects;
int CDSPFIRFilterCache :: ObjCount = 0;
CSyncObject CDSPFracDelayFilterBankCache :: StateSync;
CPtrKeeper< CDSPFracDelayFilterBank* > CDSPFracDelayFilterBankCache :: Objects;
CPtrKeeper< CDSPFracDelayFilterBank* > CDSPFracDelayFilterBankCache :: StaticObjects;
int CDSPFracDelayFilterBankCache :: ObjCount = 0;
} // namespace r8b