diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-25 19:26:14 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-25 19:26:14 +0000 |
commit | 6fa58df7918b3a9fea715bf6c917c144af540f3c (patch) | |
tree | 13dfc5be81482dc73b2981f2d170a58efa2a30ca /libs/ardour/ardour/amp.h | |
parent | fce685b2e7cc57f1310d9d83bba9f4a3c98b9afe (diff) |
do not apply global transport declick to MIDI
git-svn-id: svn://localhost/ardour2/branches/3.0@7491 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/amp.h')
-rw-r--r-- | libs/ardour/ardour/amp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/amp.h b/libs/ardour/ardour/amp.h index c1f6172de1..1b6baaebd1 100644 --- a/libs/ardour/ardour/amp.h +++ b/libs/ardour/ardour/amp.h @@ -62,6 +62,8 @@ public: static void apply_gain (AudioBuffer& buf, nframes_t nframes, gain_t initial, gain_t target); static void apply_simple_gain(AudioBuffer& buf, nframes_t nframes, gain_t target); + static void declick (BufferSet& bufs, nframes_t nframes, int dir); + gain_t gain () const { return _gain_control->user_float(); } virtual void set_gain (gain_t g, void *src); |