diff options
author | Robin Gareus <robin@gareus.org> | 2015-04-25 18:07:01 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-04-25 21:23:03 +0200 |
commit | 5f7cee5bfe013240eb55ff971e027ec0eda3913f (patch) | |
tree | 8348c4970854069d8fabc9e2f06fc7d1784d87f8 /libs/ardour/route.cc | |
parent | ae1c7eb871abc6e231449e7622f35b83910663c0 (diff) |
prepare trim remote control
Diffstat (limited to 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index d06c1f99d7..3d9785b2fb 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -423,6 +423,19 @@ Route::set_gain (gain_t val, void *src) } void +Route::inc_trim (gain_t fraction, void *src) +{ + _trim->inc_gain (fraction, src); +} + +void +Route::set_trim (gain_t val, void * /* src */) +{ + // TODO route group, see set_gain() + _trim->set_gain (val, 0); +} + +void Route::maybe_declick (BufferSet&, framecnt_t, int) { /* this is the "bus" implementation and they never declick. |