r898: Control of automation curve ranges per type (fixes badness in design since...
[cinelerra_cv/mob.git] / plugins / normalize / normalize.h
blob7652ae04c90bce2fca6be98c0699c9bd8221f144
1 #ifndef NORMALIZE_H
2 #define NORMALIZE_H
4 #include "bchash.inc"
5 #include "guicast.h"
6 #include "mainprogress.inc"
7 #include "pluginaclient.h"
8 #include "vframe.inc"
11 class NormalizeMain : public PluginAClient
13 public:
14 NormalizeMain(PluginServer *server);
15 ~NormalizeMain();
17 // normalizing engine
19 // parameters needed
21 float db_over;
22 int separate_tracks;
24 // required for all non realtime/multichannel plugins
26 VFrame* new_picon();
27 char* plugin_title();
28 int is_realtime();
29 int is_multichannel();
30 int get_parameters();
31 int start_loop();
32 int process_loop(double **buffer, int64_t &write_length);
33 int stop_loop();
35 int load_defaults();
36 int save_defaults();
38 BC_Hash *defaults;
39 MainProgressBar *progress;
41 // Current state of process_loop
42 int writing;
43 int64_t current_position;
44 double *peak, *scale;
48 #endif