mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 23:17:46 +01:00
add configurable clipping level to Canvas::WaveView
This commit is contained in:
parent
2d50adaf3a
commit
7158eb7565
2 changed files with 13 additions and 1 deletions
|
|
@ -115,6 +115,9 @@ public:
|
|||
void set_amplitude_above_axis (double v);
|
||||
double amplitude_above_axis () const { return _amplitude_above_axis; }
|
||||
|
||||
static void set_clip_level (double dB);
|
||||
static PBD::Signal0<void> ClipLevelChanged;
|
||||
|
||||
#ifdef CANVAS_COMPATIBILITY
|
||||
void*& property_gain_src () {
|
||||
return _foo_void;
|
||||
|
|
@ -163,6 +166,7 @@ private:
|
|||
static bool _global_logscaled;
|
||||
static Shape _global_shape;
|
||||
static bool _global_show_waveform_clipping;
|
||||
static double _clip_level;
|
||||
|
||||
static PBD::Signal0<void> VisualPropertiesChanged;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue