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

Cleaned up some missing std:: namespaces for maths functions, and updated some old documentation for AudioProcessor

This commit is contained in:
jules 2017-10-10 09:01:35 +01:00
parent ff99aec1ab
commit 31c99d3680
12 changed files with 218 additions and 258 deletions

View file

@ -999,7 +999,7 @@ String MidiMessage::getMidiNoteName (int note, bool useSharps, bool includeOctav
double MidiMessage::getMidiNoteInHertz (const int noteNumber, const double frequencyOfA) noexcept
{
return frequencyOfA * pow (2.0, (noteNumber - 69) / 12.0);
return frequencyOfA * std::pow (2.0, (noteNumber - 69) / 12.0);
}
bool MidiMessage::isMidiNoteBlack (int noteNumber) noexcept