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:
parent
ff99aec1ab
commit
31c99d3680
12 changed files with 218 additions and 258 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue