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:
parent
ac5030b909
commit
9393c1bbc9
7 changed files with 8 additions and 8 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue