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

Avoided some minor compiler warnings.

This commit is contained in:
jules 2012-11-11 17:06:14 +00:00
parent ac5030b909
commit 9393c1bbc9
7 changed files with 8 additions and 8 deletions

View file

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

View file

@ -891,7 +891,7 @@ public:
The frequencyOfA parameter is an optional frequency for 'A', normally 440-444Hz for concert pitch.
@see getMidiNoteName
*/
static const double getMidiNoteInHertz (int noteNumber, const double frequencyOfA = 440.0) noexcept;
static double getMidiNoteInHertz (int noteNumber, const double frequencyOfA = 440.0) noexcept;
/** Returns the standard name of a GM instrument.