mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
AudioProcessor: Update documentation to make implementation requirements clearer for MIDI-related member functions
This commit is contained in:
parent
4a87eb3c40
commit
1f71b5f4fb
1 changed files with 24 additions and 4 deletions
|
|
@ -852,16 +852,36 @@ public:
|
|||
/** Returns the length of the processor's tail, in seconds. */
|
||||
virtual double getTailLengthSeconds() const = 0;
|
||||
|
||||
/** Returns true if the processor wants MIDI messages. */
|
||||
/** Returns true if the processor wants MIDI messages.
|
||||
|
||||
This must return the same value every time it is called.
|
||||
This may be called by the audio thread, so this should be fast.
|
||||
Ideally, just return a constant.
|
||||
*/
|
||||
virtual bool acceptsMidi() const = 0;
|
||||
|
||||
/** Returns true if the processor produces MIDI messages. */
|
||||
/** Returns true if the processor produces MIDI messages.
|
||||
|
||||
This must return the same value every time it is called.
|
||||
This may be called by the audio thread, so this should be fast.
|
||||
Ideally, just return a constant.
|
||||
*/
|
||||
virtual bool producesMidi() const = 0;
|
||||
|
||||
/** Returns true if the processor supports MPE. */
|
||||
/** Returns true if the processor supports MPE.
|
||||
|
||||
This must return the same value every time it is called.
|
||||
This may be called by the audio thread, so this should be fast.
|
||||
Ideally, just return a constant.
|
||||
*/
|
||||
virtual bool supportsMPE() const { return false; }
|
||||
|
||||
/** Returns true if this is a MIDI effect plug-in and does no audio processing. */
|
||||
/** Returns true if this is a MIDI effect plug-in and does no audio processing.
|
||||
|
||||
This must return the same value every time it is called.
|
||||
This may be called by the audio thread, so this should be fast.
|
||||
Ideally, just return a constant.
|
||||
*/
|
||||
virtual bool isMidiEffect() const { return false; }
|
||||
|
||||
//==============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue