projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mod scope for smooth graphic, tweaks to scope layout
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
compressortools.h
diff --git
a/cinelerra-5.1/cinelerra/compressortools.h
b/cinelerra-5.1/cinelerra/compressortools.h
index abfb098dfbe054a99fc124a8a1184dd321f5f888..37589f8e70cfe5dbccabef1d492f7b61b97299be 100644
(file)
--- a/
cinelerra-5.1/cinelerra/compressortools.h
+++ b/
cinelerra-5.1/cinelerra/compressortools.h
@@
-100,6
+100,7
@@
public:
void boundaries(CompressorConfigBase *base);
void save_data(FileXML *xml, int number, int do_multiband);
void read_data(FileXML *xml, int do_multiband);
void boundaries(CompressorConfigBase *base);
void save_data(FileXML *xml, int number, int do_multiband);
void read_data(FileXML *xml, int do_multiband);
+ void reset();
ArrayList<compressor_point_t> levels;
int solo;
ArrayList<compressor_point_t> levels;
int solo;
@@
-108,6
+109,7
@@
public:
// double readahead_len;
double attack_len;
double release_len;
// double readahead_len;
double attack_len;
double release_len;
+ double mkup_gain;
// upper frequency in Hz
int freq;
// upper frequency in Hz
int freq;
@@
-123,6
+125,8
@@
public:
virtual int equivalent(CompressorConfigBase &that);
void boundaries();
virtual int equivalent(CompressorConfigBase &that);
void boundaries();
+ void reset_base();
+ void reset_bands();
void remove_point(int band, int number);
int set_point(int band, double x, double y);
double calculate_db(int band, double x);
void remove_point(int band, int number);
int set_point(int band, double x, double y);
double calculate_db(int band, double x);
@@
-315,13
+319,6
@@
public:
CompressorCanvasBase *canvas;
};
CompressorCanvasBase *canvas;
};
-#define GRAPH_BG_COLOR 0x559977
-#define GRAPH_BORDER1_COLOR 0xeeaa44
-#define GRAPH_BORDER2_COLOR 0xeeaaff
-#define GRAPH_GRID_COLOR 0xeeffcc
-#define GRAPH_ACTIVE_COLOR 0x99cc77
-#define GRAPH_INACTIVE_COLOR 0x666688
-
#endif
#endif