summaryrefslogtreecommitdiff
path: root/libs/ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-09-28 05:54:42 +0200
committerRobin Gareus <robin@gareus.org>2017-09-29 05:03:48 +0200
commit3d1e1d72133543bde69cc60bbdbfc6821f48c221 (patch)
treee9d7b604f0ab95ff213bd7f921d8b2bedba36682 /libs/ardour
parentabb7cb90e703ccce72618b2a910112a8d25b5572 (diff)
clean up route header, NO-OP (except variable re-order)
Diffstat (limited to 'libs/ardour')
-rw-r--r--libs/ardour/ardour/route.h47
-rw-r--r--libs/ardour/route.cc2
2 files changed, 23 insertions, 26 deletions
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h
index 15eb786ed2..6c48964f3f 100644
--- a/libs/ardour/ardour/route.h
+++ b/libs/ardour/ardour/route.h
@@ -341,9 +341,9 @@ public:
*/
bool remove_sidechain (boost::shared_ptr<Processor> proc) { return add_remove_sidechain (proc, false); }
- samplecnt_t set_private_port_latencies (bool playback) const;
- void set_public_port_latencies (samplecnt_t, bool playback) const;
+ samplecnt_t set_private_port_latencies (bool playback) const;
+ void set_public_port_latencies (samplecnt_t, bool playback) const;
samplecnt_t update_signal_latency (bool set_initial_delay = false);
virtual void set_latency_compensation (samplecnt_t);
@@ -384,8 +384,9 @@ public:
PBD::Signal1<void,void*> record_enable_changed;
PBD::Signal0<void> processor_latency_changed;
/** the metering point has changed */
- PBD::Signal0<void> meter_change;
- PBD::Signal0<void> signal_latency_changed;
+ PBD::Signal0<void> meter_change;
+ /** a processor's latency has changed */
+ PBD::Signal0<void> signal_latency_changed;
PBD::Signal0<void> initial_delay_changed;
/** Emitted with the process lock held */
@@ -603,8 +604,7 @@ public:
void passthru (BufferSet&, samplepos_t start_sample, samplepos_t end_sample, pframes_t nframes, int declick, bool gain_automation_ok);
- virtual void write_out_of_band_data (BufferSet& /* bufs */, samplepos_t /* start_sample */, samplepos_t /* end_sample */,
- samplecnt_t /* nframes */) {}
+ virtual void write_out_of_band_data (BufferSet& /* bufs */, samplepos_t /* start_sample */, samplepos_t /* end_sample */, samplecnt_t /* nframes */) {}
virtual void process_output_buffers (BufferSet& bufs,
samplepos_t start_sample, samplepos_t end_sample,
@@ -622,7 +622,7 @@ public:
ChanCount bounce_get_output_streams (ChanCount &cc, boost::shared_ptr<Processor> endpoint, bool include_endpoint, bool for_export, bool for_freeze) const;
bool _active;
- samplecnt_t _signal_latency;
+ samplecnt_t _signal_latency;
samplecnt_t _initial_delay;
ProcessorList _processors;
@@ -713,7 +713,8 @@ public:
SlavableControlList slavables () const;
private:
- int64_t _track_number;
+ /* no copy construction */
+ Route (Route const &);
int set_state_2X (const XMLNode&, int);
void set_processor_state_2X (XMLNodeList const &, int);
@@ -729,10 +730,6 @@ private:
bool input_port_count_changing (ChanCount);
bool output_port_count_changing (ChanCount);
- bool _in_configure_processors;
- bool _initial_io_setup;
- bool _in_sidechain_setup;
-
int configure_processors_unlocked (ProcessorStreams*, Glib::Threads::RWLock::WriterLock*);
bool set_meter_point_unlocked ();
void apply_processor_order (const ProcessorList& new_order);
@@ -745,17 +742,19 @@ private:
void placement_range (Placement p, ProcessorList::iterator& start, ProcessorList::iterator& end);
void set_self_solo (bool yn);
+ void unpan ();
void set_processor_positions ();
samplecnt_t update_port_latencies (PortSet& ports, PortSet& feeders, bool playback, samplecnt_t) const;
void setup_invisible_processors ();
- void unpan ();
- void set_plugin_state_dir (boost::weak_ptr<Processor>, const std::string&);
+ void reset_instrument_info ();
+ void solo_control_changed (bool self, PBD::Controllable::GroupControlDisposition);
+ void maybe_note_meter_position ();
- boost::shared_ptr<CapturingProcessor> _capturing_processor;
+ void set_plugin_state_dir (boost::weak_ptr<Processor>, const std::string&);
/** A handy class to keep processor state while we attempt a reconfiguration
* that may fail.
@@ -784,12 +783,13 @@ private:
friend class ProcessorState;
- bool _strict_io;
-
- /* no copy construction */
- Route (Route const &);
+ boost::shared_ptr<CapturingProcessor> _capturing_processor;
- void maybe_note_meter_position ();
+ int64_t _track_number;
+ bool _strict_io;
+ bool _in_configure_processors;
+ bool _initial_io_setup;
+ bool _in_sidechain_setup;
/** true if we've made a note of a custom meter position in these variables */
bool _custom_meter_position_noted;
@@ -797,12 +797,9 @@ private:
or 0.
*/
boost::weak_ptr<Processor> _processor_after_last_custom_meter;
- RoutePinWindowProxy *_pinmgr_proxy;
- PatchChangeGridDialog* _patch_selector_dialog;
-
- void reset_instrument_info ();
- void solo_control_changed (bool self, PBD::Controllable::GroupControlDisposition);
+ RoutePinWindowProxy* _pinmgr_proxy;
+ PatchChangeGridDialog* _patch_selector_dialog;
};
} // namespace ARDOUR
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index a0d6676b22..20435cdbf4 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -110,10 +110,10 @@ Route::Route (Session& sess, string name, PresentationInfo::Flag flag, DataType
, _have_internal_generator (false)
, _default_type (default_type)
, _track_number (0)
+ , _strict_io (false)
, _in_configure_processors (false)
, _initial_io_setup (false)
, _in_sidechain_setup (false)
- , _strict_io (false)
, _custom_meter_position_noted (false)
, _pinmgr_proxy (0)
, _patch_selector_dialog (0)