Commit bb333d8e authored by Tristan Matthews's avatar Tristan Matthews

* #9782: Tone::interpolate should be const

parent 5af953f9
......@@ -140,7 +140,7 @@ Tone::fillWavetable()
}
double
Tone::interpolate(double x)
Tone::interpolate(double x) const
{
int xi_0 = x;
int xi_1 = xi_0 + 1;
......
......@@ -73,8 +73,7 @@ class Tone : public AudioLoop {
*/
void fillWavetable();
double interpolate(double x);
double interpolate(double x) const;
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