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:
parent
3e9f20da8f
commit
d2996f50cf
1 changed files with 4 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue