Commit bb333d8e authored by Tristan Matthews's avatar Tristan Matthews

* #9782: Tone::interpolate should be const

parent 5af953f9
...@@ -140,7 +140,7 @@ Tone::fillWavetable() ...@@ -140,7 +140,7 @@ Tone::fillWavetable()
} }
double double
Tone::interpolate(double x) Tone::interpolate(double x) const
{ {
int xi_0 = x; int xi_0 = x;
int xi_1 = xi_0 + 1; int xi_1 = xi_0 + 1;
......
...@@ -73,8 +73,7 @@ class Tone : public AudioLoop { ...@@ -73,8 +73,7 @@ class Tone : public AudioLoop {
*/ */
void fillWavetable(); void fillWavetable();
double interpolate(double x); double interpolate(double x) const;
private: private:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment