diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-16 15:33:04 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-03-16 15:33:04 +0000 |
commit | 6ef5d85ae1f2c500c4163cd1df580b3f26991c1e (patch) | |
tree | 15194a52bb72f036117fc4c87c193a4cbb64be8b /libs/ardour/ardour/port_insert.h | |
parent | 830911f6f9451d83a58043b3f9084d3caa164b7b (diff) |
changes from 2.X starting in march 2009 through oct 20 2009 (5826 inclusive)
git-svn-id: svn://localhost/ardour2/branches/3.0@6761 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/port_insert.h')
-rw-r--r-- | libs/ardour/ardour/port_insert.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libs/ardour/ardour/port_insert.h b/libs/ardour/ardour/port_insert.h index 5e50b4775e..2f39d8688e 100644 --- a/libs/ardour/ardour/port_insert.h +++ b/libs/ardour/ardour/port_insert.h @@ -29,6 +29,7 @@ #include "ardour/types.h" class XMLNode; +class MTDM; namespace ARDOUR { @@ -64,6 +65,12 @@ class PortInsert : public IOProcessor uint32_t bit_slot() const { return bitslot; } + void start_latency_detection (); + void stop_latency_detection (); + + MTDM* mtdm () const { return _mtdm; } + void set_measured_latency (nframes_t); + private: /* disallow copy construction */ PortInsert (const PortInsert&); @@ -71,7 +78,10 @@ class PortInsert : public IOProcessor boost::shared_ptr<Delivery> _out; uint32_t bitslot; -}; + MTDM* _mtdm; + bool _latency_detect; + nframes_t _latency_flush_frames; + nframes_t _measured_latency;}; } // namespace ARDOUR |