diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-01-30 07:40:13 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-01-30 07:40:13 +0000 |
commit | 70b939da4f9d4097160e32f2373a7a5ff8f4957f (patch) | |
tree | 5917e5847c75e441c9df550d5101352d18e8286f /libs/ardour/ardour/port.h | |
parent | ee62ee07d39f51ba1b70f390dc2158c57f54a572 (diff) |
first pass at internal sends. this is a very tentative work in progress, and it is possible that major changes may follow in the near future. it is certainly not complete, but the fundamental changes to Port/Buffer operation merit a commit at this point
git-svn-id: svn://localhost/ardour2/branches/3.0@4464 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/port.h')
-rw-r--r-- | libs/ardour/ardour/port.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libs/ardour/ardour/port.h b/libs/ardour/ardour/port.h index 7539aac9d5..759d532e82 100644 --- a/libs/ardour/ardour/port.h +++ b/libs/ardour/ardour/port.h @@ -71,6 +71,7 @@ public: } bool connected () const; + bool externally_connected () const; int disconnect_all (); int get_connections (std::vector<std::string> &) const; @@ -81,7 +82,7 @@ public: /* connection by Port* */ bool connected_to (Port *) const; - int connect (Port *); + virtual int connect (Port *); int disconnect (Port *); void ensure_monitor_input (bool); @@ -113,6 +114,12 @@ protected: std::set<Port*> _connections; ///< internal Ports that we are connected to static AudioEngine* _engine; ///< the AudioEngine + + virtual bool using_internal_data() const { return false; } + virtual void use_internal_data () {} + virtual void use_external_data () {} + + void check_buffer_status (); private: friend class AudioEngine; @@ -130,6 +137,7 @@ private: /// list of JACK ports that we are connected to; we only keep this around /// so that we can implement ::reconnect () std::set<std::string> _named_connections; + }; } |