Remove frame conversion for MidiRegionView::note_in_region_range(), speed up tempo...
[ardour.git] / libs / ardour / ardour / port_set.h
index 690875cd8624179e02b8cf4c9ce8cfda21a410c2..fce36279674c1784bda063cbbe52f7a4d79a4c9e 100644 (file)
@@ -39,7 +39,7 @@ class MidiPort;
  * and once in a vector of all port (_all_ports).  This is to speed up the
  * fairly common case of iterating over all ports.
  */
-class PortSet : public boost::noncopyable {
+class LIBARDOUR_API PortSet : public boost::noncopyable {
 public:
        PortSet();
 
@@ -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;