Patch the QM source code to make it buildable with MSVC

This commit is contained in:
John Emmas 2017-04-02 15:32:26 +02:00 committed by Robin Gareus
parent 0ed1a88af1
commit 7e224236e6
3 changed files with 52 additions and 4 deletions

View file

@ -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) {

View file

@ -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; }