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
Branches
Tags
No related merge requests found
...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment