diff options
author | Carl Hetherington <carl@carlh.net> | 2011-05-04 09:22:32 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-05-04 09:22:32 +0000 |
commit | 91d512174efb610b004bd4542e05f99080a668d5 (patch) | |
tree | 5c7f9ade1cebde038afac589fa67cc839c3cfe78 /libs/surfaces/mackie/surface_port.h | |
parent | f01dc1bfd5093a532a5f692549202951eaaf6818 (diff) |
Use a timeout to reset faders' in_use flags when in BCF mode (ie with faders that don't support touch).
git-svn-id: svn://localhost/ardour2/branches/3.0@9469 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/surfaces/mackie/surface_port.h')
-rw-r--r-- | libs/surfaces/mackie/surface_port.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/surface_port.h b/libs/surfaces/mackie/surface_port.h index 214c8e6291..fb2d8d0019 100644 --- a/libs/surfaces/mackie/surface_port.h +++ b/libs/surfaces/mackie/surface_port.h @@ -86,12 +86,16 @@ public: virtual bool active() const { return _active; } virtual void active( bool yn ) { _active = yn; } + + void add_in_use_timeout (Control &, Control *); protected: /// Only for use by DummyPort SurfacePort(); private: + bool control_in_use_timeout (Control *, Control *); + MIDI::Port * _input_port; MIDI::Port * _output_port; int _number; |