3 |
* LinuxSampler - modular, streaming capable sampler * |
* LinuxSampler - modular, streaming capable sampler * |
4 |
* * |
* * |
5 |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
* Copyright (C) 2003, 2004 by Benno Senoner and Christian Schoenebeck * |
6 |
* Copyright (C) 2005 - 2012 Christian Schoenebeck * |
* Copyright (C) 2005 - 2019 Christian Schoenebeck * |
7 |
* * |
* * |
8 |
* This program is free software; you can redistribute it and/or modify * |
* This program is free software; you can redistribute it and/or modify * |
9 |
* it under the terms of the GNU General Public License as published by * |
* it under the terms of the GNU General Public License as published by * |
29 |
|
|
30 |
#include "../../common/global_private.h" |
#include "../../common/global_private.h" |
31 |
|
|
|
// TODO: cubic interpolation is not yet supported by the MMX/SSE(1) version though |
|
32 |
#ifndef USE_LINEAR_INTERPOLATION |
#ifndef USE_LINEAR_INTERPOLATION |
33 |
# define USE_LINEAR_INTERPOLATION 1 ///< set to 0 if you prefer cubic interpolation (slower, better quality) |
# define USE_LINEAR_INTERPOLATION 0 ///< we set this to 0 by default for using cubic interpolation instead (slightly slower, but much better audio quality than linear interpolation) |
34 |
|
#endif |
35 |
|
#if USE_LINEAR_INTERPOLATION |
36 |
|
# warning Linear interpolation was configured as resampling algorithm, which is deprecated! |
37 |
#endif |
#endif |
38 |
|
|
39 |
namespace LinuxSampler { |
namespace LinuxSampler { |