Mercurial > hg > qm-dsp
comparison dsp/signalconditioning/Filter.h @ 209:ccd2019190bf msvc
Some MSVC fixes, including (temporarily, probably) renaming the FFT source file to avoid getting it mixed up with the Vamp SDK one in our object dir
author | Chris Cannam |
---|---|
date | Thu, 01 Feb 2018 16:34:08 +0000 |
parents | ca658c7215a9 |
children | 701233f8ed41 |
comparison
equal
deleted
inserted
replaced
208:7eade513d470 | 209:ccd2019190bf |
---|---|
12 COPYING included with this distribution for more information. | 12 COPYING included with this distribution for more information. |
13 */ | 13 */ |
14 | 14 |
15 #ifndef FILTER_H | 15 #ifndef FILTER_H |
16 #define FILTER_H | 16 #define FILTER_H |
17 | |
18 #include "base/Restrict.h" | |
17 | 19 |
18 #include <vector> | 20 #include <vector> |
19 | 21 |
20 class Filter | 22 class Filter |
21 { | 23 { |
40 /** | 42 /** |
41 * Filter the input sequence \arg in of length \arg n samples, and | 43 * Filter the input sequence \arg in of length \arg n samples, and |
42 * write the resulting \arg n samples into \arg out. There must be | 44 * write the resulting \arg n samples into \arg out. There must be |
43 * enough room in \arg out for \arg n samples to be written. | 45 * enough room in \arg out for \arg n samples to be written. |
44 */ | 46 */ |
45 void process(const double *const __restrict__ in, | 47 void process(const double *const QM_R__ in, |
46 double *const __restrict__ out, | 48 double *const QM_R__ out, |
47 const int n); | 49 const int n); |
48 | 50 |
49 int getOrder() const { return m_order; } | 51 int getOrder() const { return m_order; } |
50 | 52 |
51 private: | 53 private: |