mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-17 00:43:56 +02:00
Implement CLAP note ports extension
This commit is contained in:
@@ -21,7 +21,7 @@ Yabridge currently tracks CLAP 1.1.1. The implementation status for CLAP's core
|
||||
| `clap.latency` | :x: Not supported yet |
|
||||
| `clap.log` | :x: Not supported yet |
|
||||
| `clap.note-name` | :x: Not supported yet |
|
||||
| `clap.note-ports` | :x: Not supported yet |
|
||||
| `clap.note-ports` | :heavy_check_mark: |
|
||||
| `clap.params` | :x: Not supported yet |
|
||||
| `clap.posix-fd-support` | :x: Not supported yet |
|
||||
| `clap.render` | :x: Not supported yet |
|
||||
|
||||
@@ -80,12 +80,15 @@ struct Host {
|
||||
* available to the bridged CLAP plugins using proxies.
|
||||
*/
|
||||
struct SupportedHostExtensions {
|
||||
// Don't forget to add new extensions to the log output
|
||||
// Don't forget to add new extensions to the logger and to the serialize
|
||||
// method
|
||||
bool supports_audio_ports = false;
|
||||
bool supports_note_ports = false;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
s.value1b(supports_audio_ports);
|
||||
s.value1b(supports_note_ports);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -113,12 +113,15 @@ struct Descriptor {
|
||||
* created by `ClapPluginExtensions::supported()`.
|
||||
*/
|
||||
struct SupportedPluginExtensions {
|
||||
// Don't forget to add new extensions to the log output
|
||||
// Don't forget to add new extensions to the logger and to the serialize
|
||||
// method
|
||||
bool supports_audio_ports = false;
|
||||
bool supports_note_ports = false;
|
||||
|
||||
template <typename S>
|
||||
void serialize(S& s) {
|
||||
s.value1b(supports_audio_ports);
|
||||
s.value1b(supports_note_ports);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user