An interface with methods that can be overridden to customise how a Device implementing profiles responds to profile inquiries.
More...
#include <juce_CIProfileDelegate.h>
An interface with methods that can be overridden to customise how a Device implementing profiles responds to profile inquiries.
◆ ProfileDelegate() [1/3]
midi_ci::ProfileDelegate::ProfileDelegate |
( |
| ) |
|
|
default |
◆ ~ProfileDelegate()
virtual midi_ci::ProfileDelegate::~ProfileDelegate |
( |
| ) |
|
|
virtualdefault |
◆ ProfileDelegate() [2/3]
◆ ProfileDelegate() [3/3]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ profileEnablementRequested()
virtual void midi_ci::ProfileDelegate::profileEnablementRequested |
( |
MUID | x, |
|
|
ProfileAtAddress | profileAtAddress, |
|
|
int | numChannels, |
|
|
bool | enabled ) |
|
pure virtual |
Called when a remote device requests that a profile is enabled or disabled.
Old MIDI-CI implementations on remote devices may request that a profile is enabled with zero channels active - in this situation, it is recommended that you use ProfileHost::enableProfile to enable the default number of channels for that profile.
Additionally, profiles for entire groups or function blocks may be enabled with zero active channels. In this case, the profile should be enabled on the entire group or function block.
The documentation for this struct was generated from the following file: