From 20342cf2644fee7b04d6cfdc4fc686897837a01b Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 21 Jul 2009 03:23:57 +0000 Subject: first part of fixing up send/return metering ; make send-controlling faders work ; fixes from 2.X for key editor and untranslatable string; use standard name for surfaces lib version in wiimote wscript git-svn-id: svn://localhost/ardour2/branches/3.0@5400 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/ardour/processor.h | 4 ++-- libs/ardour/ardour/send.h | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'libs/ardour/ardour') diff --git a/libs/ardour/ardour/processor.h b/libs/ardour/ardour/processor.h index d49c3a206b..2df10e9c69 100644 --- a/libs/ardour/ardour/processor.h +++ b/libs/ardour/ardour/processor.h @@ -73,8 +73,8 @@ class Processor : public SessionObject, public AutomatableControls, public Laten virtual void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes) {} virtual void silence (nframes_t nframes) {} - void activate () { _active = true; ActiveChanged(); } - void deactivate () { _active = false; ActiveChanged(); } + virtual void activate () { _active = true; ActiveChanged(); } + virtual void deactivate () { _active = false; ActiveChanged(); } virtual bool configure_io (ChanCount in, ChanCount out); diff --git a/libs/ardour/ardour/send.h b/libs/ardour/ardour/send.h index d4b9bca1b3..dc57a72519 100644 --- a/libs/ardour/ardour/send.h +++ b/libs/ardour/ardour/send.h @@ -60,6 +60,10 @@ class Send : public Delivery void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const; + bool configure_io (ChanCount in, ChanCount out); + + void activate (); + void deactivate (); bool set_name (const std::string& str); -- cgit v1.2.3