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

Fixed a non-standard call in some example code.

This commit is contained in:
jules 2016-01-03 16:20:58 +00:00
parent a6585b1ebf
commit 7da76f2a11

View file

@ -59,7 +59,7 @@ public:
const int numSamples = buffer.getNumSamples();
// get note duration
const int noteDuration = static_cast<int> (std::ceilf (rate * 0.25f * (0.1f + (1.0f - (*speed)))));
const int noteDuration = static_cast<int> (std::ceil (rate * 0.25f * (0.1f + (1.0f - (*speed)))));
MidiMessage msg;
int ignore;