port 7.2 mods: align_edits foreground plugin refresh_frame tweak, rework soundlevel...
[goodguy/cinelerra.git] / cinelerra-5.1 / plugins / level / leveleffect.h
index 1d13df55d92c013618dff12eed52cce89724c566..32fded0baca791b372682700ba8d814fd1b8468f 100644 (file)
 class SoundLevelEffect;
 class SoundLevelWindow;
 
-
-
+class SoundLevelClientFrame : public PluginClientFrame
+{
+public:
+       double max, rms;
+};
 
 class SoundLevelConfig
 {
@@ -39,11 +42,8 @@ public:
        SoundLevelConfig();
        void copy_from(SoundLevelConfig &that);
        int equivalent(SoundLevelConfig &that);
-       void interpolate(SoundLevelConfig &prev,
-               SoundLevelConfig &next,
-               int64_t prev_frame,
-               int64_t next_frame,
-               int64_t current_frame);
+       void interpolate(SoundLevelConfig &prev, SoundLevelConfig &next,
+               int64_t prev_frame, int64_t next_frame, int64_t current_frame);
        float duration;
 };
 
@@ -68,14 +68,6 @@ public:
        SoundLevelEffect *plugin;
 };
 
-
-
-
-
-
-
-
-
 class SoundLevelEffect : public PluginAClient
 {
 public:
@@ -89,6 +81,7 @@ public:
        void reset();
        void update_gui();
        void render_gui(void *data, int size);
+       void render_stop();
 
 
 
@@ -99,14 +92,4 @@ public:
        int accum_size;
 };
 
-
-
-
-
-
-
-
-
-
-
 #endif