25 #include "libardour-config.h"
51 _connecting_blocked = yn;
54 return _connecting_blocked;
58 std::string
name ()
const {
63 std::string
pretty_name (
bool fallback_to_name =
false)
const;
158 _global_port_buffer_offset =
off;
161 _global_port_buffer_offset += n;
PortPtr const & PortHandle
std::shared_ptr< ProtoPort > PortPtr
virtual void realtime_locate(bool for_loop_end)
virtual int set_state(const XMLNode &, int version)
static pframes_t cycle_nframes()
virtual void cycle_start(pframes_t)
static double _engine_ratio
int connect(std::string const &)
static pframes_t _cycle_nframes
virtual Buffer & get_buffer(pframes_t nframes)=0
virtual XMLNode & get_state() const
virtual void flush_buffers(pframes_t)
const LatencyRange & private_latency_range(bool playback) const
static void set_global_port_buffer_offset(pframes_t off)
void insert_connection(std::string const &)
ConnectionSet _int_connections
static pframes_t _global_port_buffer_offset
static PBD::Signal< void()> ResamplerQualityChanged
uint32_t externally_connected() const
void ensure_input_monitoring(bool)
uint32_t internally_connected() const
static samplecnt_t port_offset()
LatencyRange _private_playback_latency
PortEngine::PortHandle port_handle()
uint32_t _externally_connected
void set_last_monitor(bool yn)
virtual void cycle_end(pframes_t)
static void set_varispeed_ratio(double s)
static uint32_t resampler_quality()
PBD::Signal< void(bool)> MonitorInputChanged
bool last_monitor() const
bool monitoring_input() const
void set_public_latency_range(LatencyRange const &range, bool playback) const
static bool can_varispeed()
static void set_connecting_blocked(bool yn)
void collect_latency_from_backend(LatencyRange &range, bool playback) const
bool receives_input() const
static double speed_ratio()
PBD::ScopedConnectionList drop_connection
static double _resample_ratio
virtual void transport_stopped()
static double engine_ratio()
PortEngine::PortPtr _port_handle
bool has_ext_connection() const
void get_connected_latency_range(LatencyRange &range, bool playback) const
void session_global_drop()
PBD::Signal< void(std::shared_ptr< Port >, std::shared_ptr< Port >, bool)> ConnectedOrDisconnected
LatencyRange public_latency_range(bool playback) const
bool set_pretty_name(const std::string &)
int disconnect(std::string const &)
virtual void reinit(bool)
std::string _name
port short name
static bool set_engine_ratio(double session, double engine)
void increment_external_connections()
bool connected_to(std::string const &) const
static PBD::Signal< void()> PortSignalDrop
LatencyRange _private_capture_latency
Glib::Threads::RWLock _connections_lock
std::set< std::string > ConnectionSet
static uint32_t _resampler_quality
static double _speed_ratio
static double resample_ratio()
static uint32_t _resampler_latency
uint32_t _internally_connected
virtual int connect(Port *)
int set_name(std::string const &)
static bool _connecting_blocked
bool sends_output() const
void erase_connection(std::string const &)
virtual void cycle_split()=0
static void set_cycle_samplecnt(pframes_t n)
int get_connections(std::vector< std::string > &) const
virtual void set_buffer_size(pframes_t)
void request_input_monitoring(bool)
int connect_internal(std::string const &)
void decrement_internal_connections()
void increment_internal_connections()
static bool connecting_blocked()
void set_private_latency_range(LatencyRange &range, bool playback)
Port(std::string const &, DataType, PortFlags)
static void increment_global_port_buffer_offset(pframes_t n)
static bool setup_resampler(uint32_t q=17)
std::map< std::string, ConnectionSet > _ext_connections
static std::string state_node_name
void decrement_external_connections()
Port(const Port &)=delete
static uint32_t resampler_latency()
bool physically_connected() const
bool connected_to(Port *) const
PBD::ScopedConnection engine_connection
static PBD::Signal< void()> PortDrop
virtual DataType type() const =0
void port_connected_or_disconnected(std::weak_ptr< Port >, std::string, std::weak_ptr< Port >, std::string, bool)
std::string pretty_name(bool fallback_to_name=false) const
void session(lua_State *L)
Temporal::samplecnt_t samplecnt_t