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();
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 ();
Direction _direction;
DataType _default_type;
bool _active;
- bool _sendish;
+ bool _sendish;
private:
int connecting_became_legal ();
int set_name (std::string const &);
/** @return flags */
- PortFlags flags () const {
+ PortFlags flags () const {
return _flags;
}
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;
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;
}
- /***********************************************************************
+ /* *********************************************************************
FINDING THINGS
**********************************************************************/