#include <string>
#include <vector>
#include <cmath>
-#include <jack/jack.h>
#include <glibmm/threads.h>
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();
void set_active(bool yn) { _active = yn; }
bool set_name (const std::string& str);
+ void set_pretty_name (const std::string& str);
+ std::string pretty_name () const { return _pretty_name_prefix; }
virtual void silence (framecnt_t);
void increment_port_buffer_offset (pframes_t offset);
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 ();
/* three utility functions - this just seems to be simplest place to put them */
void collect_input (BufferSet& bufs, pframes_t nframes, ChanCount offset);
- void process_input (boost::shared_ptr<Processor>, framepos_t start_frame, framepos_t end_frame, pframes_t nframes);
+ void process_input (boost::shared_ptr<Processor>, framepos_t start_frame, framepos_t end_frame, double speed, pframes_t nframes);
void copy_to_outputs (BufferSet& bufs, DataType type, pframes_t nframes, framecnt_t offset);
/* AudioTrack::deprecated_use_diskstream_connections() needs these */
Direction _direction;
DataType _default_type;
bool _active;
- bool _sendish;
+ bool _sendish;
private:
int connecting_became_legal ();
void setup_bundle ();
std::string bundle_channel_name (uint32_t, uint32_t, DataType) const;
+ void apply_pretty_name ();
+ std::string _pretty_name_prefix;
BufferSet _buffers;
void disconnect_check (boost::shared_ptr<ARDOUR::Port>, boost::shared_ptr<ARDOUR::Port>);
};