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:
parent
4260a08038
commit
d1ae0092bf
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue