From d828e697a328057dd4044a93d0ba14693c929804 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Mon, 11 Jul 2022 15:00:10 +0200 Subject: [PATCH] Actually expose the CLAP render extension Oops. --- src/wrapper/clap/wrapper.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/wrapper/clap/wrapper.rs b/src/wrapper/clap/wrapper.rs index 8b44fd6e..5f237c34 100644 --- a/src/wrapper/clap/wrapper.rs +++ b/src/wrapper/clap/wrapper.rs @@ -41,7 +41,8 @@ use clap_sys::ext::params::{ CLAP_PARAM_IS_STEPPED, CLAP_PARAM_RESCAN_VALUES, }; use clap_sys::ext::render::{ - clap_plugin_render, clap_plugin_render_mode, CLAP_RENDER_OFFLINE, CLAP_RENDER_REALTIME, + clap_plugin_render, clap_plugin_render_mode, CLAP_EXT_RENDER, CLAP_RENDER_OFFLINE, + CLAP_RENDER_REALTIME, }; use clap_sys::ext::state::{clap_plugin_state, CLAP_EXT_STATE}; use clap_sys::ext::tail::{clap_plugin_tail, CLAP_EXT_TAIL}; @@ -2338,6 +2339,8 @@ impl Wrapper

{ &wrapper.clap_plugin_note_ports as *const _ as *const c_void } else if id == CLAP_EXT_PARAMS { &wrapper.clap_plugin_params as *const _ as *const c_void + } else if id == CLAP_EXT_RENDER { + &wrapper.clap_plugin_render as *const _ as *const c_void } else if id == CLAP_EXT_STATE { &wrapper.clap_plugin_state as *const _ as *const c_void } else if id == CLAP_EXT_TAIL {