Skip to content
Snippets Groups Projects
Commit bb333d8e authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #9782: Tone::interpolate should be const

parent 5af953f9
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment