diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2009-06-23 09:50:17 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2009-06-23 09:50:17 +0000 |
commit | 47e56905523cb9269a19300d2b468118dda3a161 (patch) | |
tree | 4bf586a28b11c98ba2bc55a09b416e1a3f87516f /libs/ardour/ardour/interpolation.h | |
parent | 875568f01ff65f405f4246405dc48b166ed70138 (diff) |
Interpolation -> LibSamplerateInterpolation, keep state per channel
git-svn-id: svn://localhost/ardour2/branches/3.0@5257 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/interpolation.h')
-rw-r--r-- | libs/ardour/ardour/interpolation.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/ardour/ardour/interpolation.h b/libs/ardour/ardour/interpolation.h index d0ba3c48bc..cec951c841 100644 --- a/libs/ardour/ardour/interpolation.h +++ b/libs/ardour/ardour/interpolation.h @@ -8,20 +8,20 @@ namespace ARDOUR { -class Interpolation { +class LibSamplerateInterpolation { protected: double _speed; - SRC_STATE* state; - std::vector<SRC_DATA> data; + std::vector<SRC_STATE*> state; + std::vector<SRC_DATA*> data; int error; void reset_state (); public: - Interpolation (); - ~Interpolation (); + LibSamplerateInterpolation (); + ~LibSamplerateInterpolation (); void set_speed (double new_speed); void set_target_speed (double new_speed) {} |