X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fardour%2Faudioregion.h;h=902e7eb9340fd49735bea295688ce4dae1057958;hb=2a6dcddcc513fa3ebc1aad4b2e5fede62277aba5;hp=b2940822738bfede99086aad9aea1816f2e4bbc2;hpb=ede4ecbb00ecc866c502454c81e711baea780ccd;p=ardour.git diff --git a/libs/ardour/ardour/audioregion.h b/libs/ardour/ardour/audioregion.h index b294082273..902e7eb934 100644 --- a/libs/ardour/ardour/audioregion.h +++ b/libs/ardour/ardour/audioregion.h @@ -83,7 +83,7 @@ class AudioRegion : public Region gain_t scale_amplitude() const { return _scale_amplitude; } void normalize (float, float target_in_dB = 0.0f); - double maximum_amplitude () const; + double maximum_amplitude (Progress* p = 0) const; bool envelope_active () const { return _envelope_active; } bool fade_in_active () const { return _fade_in_active; } @@ -129,14 +129,6 @@ class AudioRegion : public Region bool fade_in_is_default () const; bool fade_out_is_default () const; - enum FadeShape { - Linear, - Fast, - Slow, - LogA, - LogB - }; - void set_fade_in_active (bool yn); void set_fade_in_shape (FadeShape); void set_fade_in_length (framecnt_t);