I'm trying to follow some tutorials for JUCE (audio processing API). In a synth wave plugin there is a class with the following:
//========================================================================
/** A demo synth sound that's just a basic sine wave.. */
class SineWaveSound : public SynthesiserSound
{
public:
SineWaveSound() {}
bool appliesToNote (int /*midiNoteNumber*/) override { return true; }
bool appliesToChannel (int /*midiChannel*/) override { return true; }
};
Notice the function arguments have a data type but lack the conventional variable name that should accompany them.
I've never seen this before. Can somebody please explain why this is valid. The plugin works as expected.