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

Made Synthesiser::handleMidiEvent overridable.

This commit is contained in:
jules 2013-07-18 11:02:06 +01:00
parent 3e9f20da8f
commit d2996f50cf

View file

@ -471,6 +471,9 @@ protected:
int midiNoteNumber,
float velocity);
/** Can be overridden to do custom handling of incoming midi events. */
virtual void handleMidiEvent (const MidiMessage&);
private:
//==============================================================================
double sampleRate;
@ -478,8 +481,7 @@ private:
bool shouldStealNotes;
BigInteger sustainPedalsDown;
void handleMidiEvent (const MidiMessage& m);
void stopVoice (SynthesiserVoice* voice, bool allowTailOff);
void stopVoice (SynthesiserVoice*, bool allowTailOff);
#if JUCE_CATCH_DEPRECATED_CODE_MISUSE
// Note the new parameters for this method.