8 #ifndef HAS_LIVES_EFFECTS_WEED_H
9 #define HAS_LIVES_EFFECTS_WEED_H
41 weed_plant_t *
weed_bootstrap_func (weed_default_getter_f *value,
int num_versions,
int *plugin_versions);
55 #define PLUGIN_COMPOUND_EFFECTS_BUILTIN "effects/compound/"
56 #define PLUGIN_COMPOUND_EFFECTS_CUSTOM "plugins/effects/compound/"
70 boolean is_pure_audio(weed_plant_t *filter_or_instance,
boolean count_opt);
75 #ifdef HAS_LIVES_EFFECTS_H
105 int num_in_params(weed_plant_t *,
boolean skip_hidden,
boolean skip_internal);
107 weed_plant_t *
weed_inst_in_param (weed_plant_t *inst,
int param_num,
boolean skip_hidden,
boolean skip_internal);
122 boolean interpolate_param(weed_plant_t *inst,
int i,
void *pchain, weed_timecode_t tc);
133 int set_copy_to(weed_plant_t *inst,
int pnum,
boolean update);
148 weed_plant_t *
weed_apply_effects (weed_plant_t **layers, weed_plant_t *filter_map, weed_timecode_t tc,
int opwidth,
int opheight,
void ***pchains);
150 int opwidth,
int opheight, weed_timecode_t tc);
151 void weed_apply_audio_effects (weed_plant_t *filter_map,
float **abuf,
int nbtracks,
int nchans, int64_t nsamps, gdouble arate,
152 weed_timecode_t tc,
double *vis);
153 void weed_apply_audio_effects_rt(
float **abuf,
int nchans, int64_t nsamps, gdouble arate, weed_timecode_t tc,
boolean analysers_only);
156 gdouble arate, weed_timecode_t tc,
double *vis);
180 #ifdef HAS_LIVES_EFFECTS_H
264 #define WEED_PLANT_IS_PLUGIN_INFO(plant) (weed_get_plant_type(plant)==WEED_PLANT_PLUGIN_INFO?1:0)
265 #define WEED_PLANT_IS_HOST_INFO(plant) (weed_get_plant_type(plant)==WEED_PLANT_HOST_INFO?1:0)
266 #define WEED_PLANT_IS_FILTER_CLASS(plant) (weed_get_plant_type(plant)==WEED_PLANT_FILTER_CLASS?1:0)
267 #define WEED_PLANT_IS_FILTER_INSTANCE(plant) (weed_get_plant_type(plant)==WEED_PLANT_FILTER_INSTANCE?1:0)
268 #define WEED_PLANT_IS_CHANNEL(plant) (weed_get_plant_type(plant)==WEED_PLANT_CHANNEL?1:0)
269 #define WEED_PLANT_IS_CHANNEL_TEMPLATE(plant) (weed_get_plant_type(plant)==WEED_PLANT_CHANNEL_TEMPLATE?1:0)
270 #define WEED_PLANT_IS_PARAMETER(plant) (weed_get_plant_type(plant)==WEED_PLANT_PARAMETER?1:0)
271 #define WEED_PLANT_IS_PARAMETER_TEMPLATE(plant) (weed_get_plant_type(plant)==WEED_PLANT_PARAMETER_TEMPLATE?1:0)
272 #define WEED_PLANT_IS_GUI(plant) (weed_get_plant_type(plant)==WEED_PLANT_GUI?1:0)