r125: This commit was manufactured by cvs2svn to create tag 'r1_1_7-last'.
[cinelerra_cv/mob.git] / hvirtual / plugins / normalize / normalize.h
blob38604474809d1350c574d630999309fb252184af
1 #ifndef NORMALIZE_H
2 #define NORMALIZE_H
4 #include "defaults.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 Defaults *defaults;
39 MainProgressBar *progress;
41 // Current state of process_loop
42 int writing;
43 int64_t current_position;
44 double *peak, *scale;
48 #endif