From 0ac02dcceeb3a5f048b3cc3ed169c1b3cf6d3af8 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 5 Nov 2023 15:18:18 +0100 Subject: [PATCH] fixup! Update for CLAP 1.1.8 --- src/ext/draft/configurable_audio_ports.rs | 2 +- src/ext/draft/extensible_audio_ports.rs | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/ext/draft/configurable_audio_ports.rs b/src/ext/draft/configurable_audio_ports.rs index 0e574ef..fc7d2c4 100644 --- a/src/ext/draft/configurable_audio_ports.rs +++ b/src/ext/draft/configurable_audio_ports.rs @@ -13,7 +13,7 @@ pub struct clap_audio_port_configuration_request { pub port_index: u32, pub channel_count: u32, pub port_type: *const c_char, - pub port_details: *const c_char, + pub port_details: *const c_void, } unsafe impl Send for clap_audio_port_configuration_request {} diff --git a/src/ext/draft/extensible_audio_ports.rs b/src/ext/draft/extensible_audio_ports.rs index 06bd7b0..294c4fc 100644 --- a/src/ext/draft/extensible_audio_ports.rs +++ b/src/ext/draft/extensible_audio_ports.rs @@ -18,10 +18,6 @@ pub struct clap_plugin_extensible_audio_ports { ) -> bool, >, pub remove_port: Option< - unsafe extern "C" fn( - plugin: *const clap_plugin, - is_input: bool, - channel_count: u32, - ) -> bool, + unsafe extern "C" fn(plugin: *const clap_plugin, is_input: bool, index: u32) -> bool, >, }