diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-09 14:00:59 -0600 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2020-04-09 14:01:47 -0600 |
commit | cd5eae3556fae7634c2638969bef48dee86e1449 (patch) | |
tree | 8a06c55c415c86bbdd228bbe8a78e90d4e7ba40f /libs/ardour/ardour/bundle.h | |
parent | 980a38a988e5cf42592747180d33451c0eeda21f (diff) |
some potentially helpful but trivial comments
Diffstat (limited to 'libs/ardour/ardour/bundle.h')
-rw-r--r-- | libs/ardour/ardour/bundle.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/ardour/bundle.h b/libs/ardour/ardour/bundle.h index 88f095dd33..cf035133ea 100644 --- a/libs/ardour/ardour/bundle.h +++ b/libs/ardour/ardour/bundle.h @@ -52,8 +52,11 @@ class LIBARDOUR_API Bundle : public PBD::ScopedConnectionList typedef std::vector<std::string> PortList; struct Channel { + /* Constructor with no port name(s) */ Channel (std::string n, DataType t) : name (n), type (t) {} + /* Constructor with list of port names */ Channel (std::string n, DataType t, PortList p) : name (n), type (t), ports (p) {} + /* Constructor with a port name */ Channel (std::string n, DataType t, std::string const & p) : name (n), type (t) { ports.push_back (p); } |