1
0

r8bbase.cpp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /**
  2. * @file r8bbase.cpp
  3. *
  4. * @brief C++ file that should be compiled and included into your application.
  5. *
  6. * This is a single library file that should be compiled and included into the
  7. * project that uses the "r8brain-free-src" sample rate converter. This file
  8. * defines several global static objects used by the library.
  9. *
  10. * You may also need to include to your project: the "Kernel32" library
  11. * (on Windows) and the "pthread" library on macOS and Linux.
  12. *
  13. * r8brain-free-src Copyright (c) 2013-2021 Aleksey Vaneev
  14. * See the "LICENSE" file for license.
  15. */
  16. #include "CDSPFIRFilter.h"
  17. #include "CDSPFracInterpolator.h"
  18. namespace r8b {
  19. #if R8B_FLTTEST
  20. int InterpFilterFracs = -1;
  21. #endif // R8B_FLTTEST
  22. CSyncObject CDSPRealFFTKeeper :: StateSync;
  23. CDSPRealFFT :: CObjKeeper CDSPRealFFTKeeper :: FFTObjects[ 31 ];
  24. CSyncObject CDSPFIRFilterCache :: StateSync;
  25. CPtrKeeper< CDSPFIRFilter* > CDSPFIRFilterCache :: Objects;
  26. int CDSPFIRFilterCache :: ObjCount = 0;
  27. CSyncObject CDSPFracDelayFilterBankCache :: StateSync;
  28. CPtrKeeper< CDSPFracDelayFilterBank* > CDSPFracDelayFilterBankCache :: Objects;
  29. CPtrKeeper< CDSPFracDelayFilterBank* > CDSPFracDelayFilterBankCache :: StaticObjects;
  30. int CDSPFracDelayFilterBankCache :: ObjCount = 0;
  31. } // namespace r8b