new/reworked audio plugins ported from hv72 compressor/multi/reverb, glyph workaround...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / mwindow.h
index 564152125313c695853b5bbc1c066867e5674cf9..b0e7877257dbffe458926bacbc536082340b0715 100644 (file)
@@ -39,6 +39,7 @@
 #include "channel.inc"
 #include "channeldb.inc"
 #include "commercials.inc"
+#include "convert.inc"
 #include "cwindow.inc"
 #include "bchash.inc"
 #include "devicedvbinput.inc"
@@ -71,6 +72,7 @@
 #include "playback3d.inc"
 #include "playbackengine.inc"
 #include "plugin.inc"
+#include "pluginclient.inc"
 #include "pluginfclient.inc"
 #include "pluginserver.inc"
 #include "pluginset.inc"
@@ -180,6 +182,7 @@ public:
                int overwrite);
 // Reset everything for a load
        void update_project(int load_mode);
+       void update_preferences(Preferences *prefs);
        void update_vwindow();
 // Fit selected time to horizontal display range
        void fit_selection();
@@ -230,7 +233,6 @@ public:
 // Not wanted for loading backups.
                int update_filename = 1);
 
-
 // Print out plugins which are referenced in the EDL but not loaded.
        void test_plugins(EDL *new_edl, char *path);
 
@@ -303,6 +305,10 @@ public:
 // Searches for matching plugin and renders data in it.
        void render_plugin_gui(void *data, Plugin *plugin);
        void render_plugin_gui(void *data, int size, Plugin *plugin);
+       void reset_plugin_gui_frames(Plugin *plugin);
+       void render_plugin_gui_frames(PluginClientFrames *frames, Plugin *plugin);
+       double get_tracking_position();
+       int get_tracking_direction();
 
 // Called from PluginVClient::process_buffer
 // Returns 1 if a GUI for the plugin is open so OpenGL routines can determine if
@@ -465,8 +471,7 @@ public:
 // Asset removal from caches
        void reset_caches();
        void remove_asset_from_caches(Asset *asset);
-       void remove_assets_from_project(int push_undo /* = 0 */,
-               int redraw /* 1 */,
+       void remove_assets_from_project(int push_undo, int redraw, int delete_indexes,
                ArrayList<Indexable*> *drag_assets /* mwindow->session->drag_assets */,
                ArrayList<EDL*> *drag_clips /* mwindow->session->drag_clips */);
        void remove_assets_from_disk();
@@ -542,6 +547,11 @@ public:
 // Send new EDL to caches
        void age_caches();
        int optimize_assets();            // delete unused assets from the cache and assets
+// render edl assets to specified format, then replace in edl
+       void start_convert(Asset *format_asset, const char *suffix,
+                       float beep, int remove_originals);
+       void finish_convert(int remove_originals);
+       ConvertRender *convert_render;
 
        void select_point(double position);
        int set_loop_boundaries();         // toggle loop playback and set boundaries for loop playback