mirror of
https://github.com/game-stop/veejay.git
synced 2025-12-24 16:49:59 +01:00
add number of output channels to frei0r and freeframe
This commit is contained in:
@@ -135,6 +135,8 @@ void* deal_with_ff( void *handle, char *name, int w, int h )
|
||||
n_inputs = 2;
|
||||
}
|
||||
|
||||
int n_outputs = 0;
|
||||
|
||||
vevo_property_set( port, "handle", VEVO_ATOM_TYPE_VOIDPTR,1, &handle );
|
||||
vevo_property_set( port, "name", VEVO_ATOM_TYPE_STRING,1, &plugin_name );
|
||||
vevo_property_set( port, "base", VEVO_ATOM_TYPE_VOIDPTR, 1, &base );
|
||||
@@ -142,6 +144,7 @@ void* deal_with_ff( void *handle, char *name, int w, int h )
|
||||
vevo_property_set( port, "num_params", VEVO_ATOM_TYPE_INT, 1,&n_params );
|
||||
vevo_property_set( port, "num_inputs", VEVO_ATOM_TYPE_INT,1, &n_inputs );
|
||||
vevo_property_set( port, "max_inputs", VEVO_ATOM_TYPE_INT,1,&m_inputs );
|
||||
vevo_property_set( port, "num_outputs", VEVO_ATOM_TYPE_INT,1,&n_outputs );
|
||||
vevo_property_set( port, "HOST_plugin_type", VEVO_ATOM_TYPE_INT, 1, &freeframe_signature_ );
|
||||
|
||||
int p;
|
||||
|
||||
@@ -264,6 +264,7 @@ void* deal_with_fr( void *handle, char *name)
|
||||
}
|
||||
int extra = 0;
|
||||
int n_inputs = 0;
|
||||
int n_outputs = 0;
|
||||
if( finfo.plugin_type == F0R_PLUGIN_TYPE_MIXER2 ) {
|
||||
extra = 1;
|
||||
n_inputs = 2;
|
||||
@@ -328,6 +329,7 @@ void* deal_with_fr( void *handle, char *name)
|
||||
vevo_property_set( port, "HOST_plugin_push_f", VEVO_ATOM_TYPE_VOIDPTR,1,&frei0r_push_frame_f);
|
||||
vevo_property_set( port, "HOST_plugin_process_f", VEVO_ATOM_TYPE_VOIDPTR,1,&frei0r_process_frame_f);*/
|
||||
vevo_property_set( port, "num_inputs", VEVO_ATOM_TYPE_INT,1, &n_inputs );
|
||||
vevo_property_set( port, "num_outputs", VEVO_ATOM_TYPE_INT,1, &n_outputs );
|
||||
|
||||
int pixfmt = PIX_FMT_RGB24;
|
||||
free(plug_name);
|
||||
|
||||
Reference in New Issue
Block a user