1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Avoided MSVC compiler warning in an example.

This commit is contained in:
jules 2014-12-23 08:54:32 +00:00
parent 4260a08038
commit d1ae0092bf

View file

@ -115,7 +115,7 @@ public:
frequency = (getHeight() - e.y) * 10.0f;
amplitude = jmin (0.9f, 0.2f * e.position.x / getWidth());
phaseDelta = 2.0f * float_Pi * frequency / sampleRate;
phaseDelta = (float) (2.0 * double_Pi * frequency / sampleRate);
repaint();
}