int lad_index;
LADSPA_Descriptor_Function lad_descriptor_function;
const LADSPA_Descriptor *lad_descriptor;
+
int use_opengl;
// FFMPEG support
const char *ff_name;
VideoDevice *vdevice;
public:
PluginServer();
- PluginServer(MWindow *mwindow, char *path, int type);
+ PluginServer(MWindow *mwindow, const char *path, int type);
PluginServer(PluginServer &);
virtual ~PluginServer();
EDL *edl, Plugin *plugin);
// close the plugin
int close_plugin();
- int get_theme_png_path(char *png_path, const char *theme_dir);
- int get_theme_png_path(char *png_path, Theme *theme);
+ void get_plugin_png_name(char *png_name);
+ int get_plugin_png_path(char *png_path, const char *plugin_icons);
int get_plugin_png_path(char *png_path);
void dump(FILE *fp=stdout);
// Release any objects which are required after playback stops.
VFrame *get_picon();
VFrame *get_plugin_images();
+ int is_unknown();
+ int is_executable();
+ int is_builtin();
+// ffmpeg
+ int is_ffmpeg();
+ PluginClient *new_ffmpeg_plugin();
// ladspa
void set_lad_index(int i);
int get_lad_index();
int is_ladspa();
-// ffmpeg
- int is_ffmpeg();
- PluginClient *new_ffmpeg_plugin();
+// lv2
+ int is_lv2();
+ PluginClient *new_lv2_plugin();
// =============================== for realtime plugins
// save configuration of plugin
void save_data(KeyFrame *keyframe);
// buffers
int64_t out_buffer_size; // size of a send buffer to the plugin
- int64_t in_buffer_size; // size of a recieve buffer from the plugin
+ int64_t in_buffer_size; // size of a receive buffer from the plugin
int total_in_buffers;
int total_out_buffers;
int uses_gui;
// Plugin is a transition
int transition;
-// name of plugin in english.
-// Compared against the title value in the plugin for resolving symbols.
- char *title;
+// name/tip of plugin
+ char *title, *tip;
int64_t written_samples, written_frames;
char *path; // location of plugin on disk
char *data_text; // pointer to the data that was requested by a save_data command