This extension let the plugin provide port configurations presets.
For example mono, stereo, surround, ambisonic, ...
After the plugin initialization, the host may scan the list of configurations and eventually
select one that fits the plugin context. The host can only select a configuration if the plugin
is deactivated.
A configuration is a very simple description of the audio ports:
- it describes the main input and output ports
- it has a name that can be displayed to the user
The idea behind the configurations, is to let the user choose one via a menu.
Plugins with very complex configuration possibilities should let the user configure the ports
from the plugin GUI, and call @ref clap_host_audio_ports.rescan(CLAP_AUDIO_PORTS_RESCAN_ALL).
To inquire the exact bus layout, the plugin implements the clap_plugin_audio_ports_config_info_t
extension where all busses can be retrieved in the same way as in the audio-port extension.
@page Audio Ports Config
This extension let the plugin provide port configurations presets. For example mono, stereo, surround, ambisonic, ...
After the plugin initialization, the host may scan the list of configurations and eventually select one that fits the plugin context. The host can only select a configuration if the plugin is deactivated.
A configuration is a very simple description of the audio ports: - it describes the main input and output ports - it has a name that can be displayed to the user
The idea behind the configurations, is to let the user choose one via a menu.
Plugins with very complex configuration possibilities should let the user configure the ports from the plugin GUI, and call @ref clap_host_audio_ports.rescan(CLAP_AUDIO_PORTS_RESCAN_ALL).
To inquire the exact bus layout, the plugin implements the clap_plugin_audio_ports_config_info_t extension where all busses can be retrieved in the same way as in the audio-port extension.