diff options
author | Robin Gareus <robin@gareus.org> | 2016-04-10 20:53:42 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-04-10 20:56:06 +0200 |
commit | 1c084d1e0e7aae0b6366cf8fcf73db2eacf5c1ab (patch) | |
tree | 2ca0a1dd1005b2975a3c885de51d66f5ee22097d | |
parent | 09202249e1189e28a810e3b79f0e9ad1f07227e2 (diff) |
NO-OP whitespace + comments
-rw-r--r-- | libs/ardour/ardour/io.h | 8 | ||||
-rw-r--r-- | libs/ardour/ardour/port.h | 6 | ||||
-rw-r--r-- | libs/ardour/ardour/port_set.h | 9 | ||||
-rw-r--r-- | libs/ardour/playlist.cc | 2 |
4 files changed, 15 insertions, 10 deletions
diff --git a/libs/ardour/ardour/io.h b/libs/ardour/ardour/io.h index 9afd0167e3..e32c05c9d3 100644 --- a/libs/ardour/ardour/io.h +++ b/libs/ardour/ardour/io.h @@ -74,8 +74,8 @@ class LIBARDOUR_API IO : public SessionObject, public Latent Output }; - IO (Session&, const std::string& name, Direction, DataType default_type = DataType::AUDIO, bool sendish = false); - IO (Session&, const XMLNode&, DataType default_type = DataType::AUDIO, bool sendish = false); + IO (Session&, const std::string& name, Direction, DataType default_type = DataType::AUDIO, bool sendish = false); + IO (Session&, const XMLNode&, DataType default_type = DataType::AUDIO, bool sendish = false); virtual ~IO(); @@ -94,7 +94,7 @@ class LIBARDOUR_API IO : public SessionObject, public Latent int ensure_io (ChanCount cnt, bool clear, void *src); - int connect_ports_to_bundle (boost::shared_ptr<Bundle>, bool exclusive, void *); + int connect_ports_to_bundle (boost::shared_ptr<Bundle>, bool exclusive, void *); int disconnect_ports_from_bundle (boost::shared_ptr<Bundle>, void *); BundleList bundles_connected (); @@ -207,7 +207,7 @@ class LIBARDOUR_API IO : public SessionObject, public Latent Direction _direction; DataType _default_type; bool _active; - bool _sendish; + bool _sendish; private: int connecting_became_legal (); diff --git a/libs/ardour/ardour/port.h b/libs/ardour/ardour/port.h index 97f8a4e778..6eca80a939 100644 --- a/libs/ardour/ardour/port.h +++ b/libs/ardour/ardour/port.h @@ -61,7 +61,7 @@ public: int set_name (std::string const &); /** @return flags */ - PortFlags flags () const { + PortFlags flags () const { return _flags; } @@ -98,9 +98,9 @@ public: bool last_monitor() const { return _last_monitor; } void set_last_monitor (bool yn) { _last_monitor = yn; } - PortEngine::PortHandle port_handle() { return _port_handle; } + PortEngine::PortHandle port_handle() { return _port_handle; } - void get_connected_latency_range (LatencyRange& range, bool playback) const; + void get_connected_latency_range (LatencyRange& range, bool playback) const; void set_private_latency_range (LatencyRange& range, bool playback); const LatencyRange& private_latency_range (bool playback) const; diff --git a/libs/ardour/ardour/port_set.h b/libs/ardour/ardour/port_set.h index cd76f75ee3..fce3627967 100644 --- a/libs/ardour/ardour/port_set.h +++ b/libs/ardour/ardour/port_set.h @@ -49,10 +49,15 @@ public: void add (boost::shared_ptr<Port> port); bool remove (boost::shared_ptr<Port> port); - /** nth port */ + /** nth port + * @param index port index + */ boost::shared_ptr<Port> port(size_t index) const; - /** nth port of type @a t, or nth port if t = NIL */ + /** nth port of type @a t, or nth port if t = NIL + * @param t data type + * @param index port index + */ boost::shared_ptr<Port> port(DataType t, size_t index) const; boost::shared_ptr<AudioPort> nth_audio_port(size_t n) const; diff --git a/libs/ardour/playlist.cc b/libs/ardour/playlist.cc index b571a9eb5f..239622a38c 100644 --- a/libs/ardour/playlist.cc +++ b/libs/ardour/playlist.cc @@ -1769,7 +1769,7 @@ Playlist::region_bounds_changed (const PropertyChange& what_changed, boost::shar } - /*********************************************************************** + /* ********************************************************************* FINDING THINGS **********************************************************************/ |