diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-06-27 22:06:35 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-06-27 22:06:35 +0000 |
commit | b5af3bb8e313e13166cc54c60a14e5492e674065 (patch) | |
tree | d27e045a17bae47e63cde89173a53fb30ffa298b /libs/ardour/ardour/io.h | |
parent | 34be8c21198441a4f8ceac35da12250cafa2d1c2 (diff) |
allow user tweaking of everything that might have inherent latency; add GUI for track level adjustment and widget that can be (but is not yet) embedded in a plugin GUI
git-svn-id: svn://localhost/ardour2/trunk@2075 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/io.h')
-rw-r--r-- | libs/ardour/ardour/io.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libs/ardour/ardour/io.h b/libs/ardour/ardour/io.h index 1592ac7cac..fc49f0699f 100644 --- a/libs/ardour/ardour/io.h +++ b/libs/ardour/ardour/io.h @@ -41,6 +41,7 @@ #include <ardour/data_type.h> #include <ardour/port_set.h> #include <ardour/chan_count.h> +#include <ardour/latent.h> using std::string; using std::vector; @@ -64,7 +65,8 @@ class BufferSet; * An IO can contain ports of varying types, making routes/inserts/etc with * varied combinations of types (eg MIDI and audio) possible. */ -class IO : public Automatable + +class IO : public Automatable, public Latent { public: static const string state_node_name; @@ -141,9 +143,12 @@ class IO : public Automatable int disconnect_inputs (void *src); int disconnect_outputs (void *src); + nframes_t signal_latency() const { return _own_latency; } nframes_t output_latency() const; nframes_t input_latency() const; - void set_port_latency (nframes_t); + void set_port_latency (nframes_t); + + void update_port_total_latencies (); const PortSet& inputs() const { return _inputs; } const PortSet& outputs() const { return _outputs; } |