Browse Source

Made the interpolation classes moveable

tags/2021-05-28
Tom Poole 5 years ago
parent
commit
2d0eb9e033
2 changed files with 6 additions and 0 deletions
  1. +3
    -0
      modules/juce_audio_basics/utilities/juce_CatmullRomInterpolator.h
  2. +3
    -0
      modules/juce_audio_basics/utilities/juce_LagrangeInterpolator.h

+ 3
- 0
modules/juce_audio_basics/utilities/juce_CatmullRomInterpolator.h View File

@@ -42,6 +42,9 @@ public:
CatmullRomInterpolator() noexcept;
~CatmullRomInterpolator() noexcept;
CatmullRomInterpolator (CatmullRomInterpolator&&) noexcept = default;
CatmullRomInterpolator& operator= (CatmullRomInterpolator&&) noexcept = default;
/** Resets the state of the interpolator.
Call this when there's a break in the continuity of the input data stream.
*/


+ 3
- 0
modules/juce_audio_basics/utilities/juce_LagrangeInterpolator.h View File

@@ -42,6 +42,9 @@ public:
LagrangeInterpolator() noexcept;
~LagrangeInterpolator() noexcept;
LagrangeInterpolator (LagrangeInterpolator&&) noexcept = default;
LagrangeInterpolator& operator= (LagrangeInterpolator&&) noexcept = default;
/** Resets the state of the interpolator.
Call this when there's a break in the continuity of the input data stream.
*/


Loading…
Cancel
Save