diff options
author | Guenter Geiger <ggeiger@users.sourceforge.net> | 2003-01-23 12:32:04 +0000 |
---|---|---|
committer | Guenter Geiger <ggeiger@users.sourceforge.net> | 2003-01-23 12:32:04 +0000 |
commit | 6a34f67a66eee984d72393ad41c3bdf9b6f10279 (patch) | |
tree | 871fa02b2222b22f87d343a786c1478cd49ed43f /plugin~.h | |
parent | 19485158a55f6903562d50c309e933d636abd847 (diff) |
included patch from Jesse Chappell <jesse@essej.net>
svn path=/trunk/externals/plugin~/; revision=359
Diffstat (limited to 'plugin~.h')
-rw-r--r-- | plugin~.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,6 @@ /* plugin~, a Pd tilde object for hosting LADSPA/VST plug-ins Copyright (C) 2000 Jarno Seppänen - $Id: plugin~.h,v 1.1 2002-11-19 09:51:40 ggeiger Exp $ + $Id: plugin~.h,v 1.2 2003-01-23 12:32:04 ggeiger Exp $ This file is part of plugin~. @@ -54,7 +54,10 @@ typedef struct /* Memory to pass async control data to/from the plugin */ float* control_input_values; + int * control_input_ports; /* port indexes */ float* control_output_values; + int * control_output_ports; /* port indexes */ + /* Used for monitoring changes in the values */ float* prev_control_output_values; int prev_control_output_values_invalid; @@ -133,7 +136,8 @@ static t_int* plugin_tilde_perform (t_int* w); /* Plugin callback for sending control output messages */ void plugin_tilde_emit_control_output (Pd_Plugin_Tilde* x, const char* name, - float new_value); + float new_value, + int output_port_index); /* First inlet message callback for "control" messages */ static void plugin_tilde_control (Pd_Plugin_Tilde* x, |