diff options
author | John Emmas <johne53@tiscali.co.uk> | 2017-04-02 15:32:26 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-04-02 15:32:26 +0200 |
commit | 7e224236e6e0d82e20eb455f30b51614fa05a3a8 (patch) | |
tree | ffbea3743734ffa8791505467e4cb162f498950f /libs/qm-dsp/dsp | |
parent | 0ed1a88af1ebd3445bfc8f2aba0170557e4d3e1f (diff) |
Patch the QM source code to make it buildable with MSVC
Diffstat (limited to 'libs/qm-dsp/dsp')
-rw-r--r-- | libs/qm-dsp/dsp/signalconditioning/Filter.cpp | 4 | ||||
-rw-r--r-- | libs/qm-dsp/dsp/signalconditioning/Filter.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/libs/qm-dsp/dsp/signalconditioning/Filter.cpp b/libs/qm-dsp/dsp/signalconditioning/Filter.cpp index e9523e229d..53fb35abec 100644 --- a/libs/qm-dsp/dsp/signalconditioning/Filter.cpp +++ b/libs/qm-dsp/dsp/signalconditioning/Filter.cpp @@ -74,8 +74,8 @@ Filter::reset() } void -Filter::process(const double *const __restrict__ in, - double *const __restrict__ out, +Filter::process(const double *const __restrict in, + double *const __restrict out, const int n) { for (int s = 0; s < n; ++s) { diff --git a/libs/qm-dsp/dsp/signalconditioning/Filter.h b/libs/qm-dsp/dsp/signalconditioning/Filter.h index 05f79e9723..8c1aee7313 100644 --- a/libs/qm-dsp/dsp/signalconditioning/Filter.h +++ b/libs/qm-dsp/dsp/signalconditioning/Filter.h @@ -42,8 +42,8 @@ public: * write the resulting \arg n samples into \arg out. There must be * enough room in \arg out for \arg n samples to be written. */ - void process(const double *const __restrict__ in, - double *const __restrict__ out, + void process(const double *const __restrict in, + double *const __restrict out, const int n); int getOrder() const { return m_order; } |