summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-10-29 02:09:40 +0000
committerCarl Hetherington <carl@carlh.net>2011-10-29 02:09:40 +0000
commitd8b3ff1fce6bc44647a59c59e9dc42772e838b65 (patch)
tree642680d9a2199684daeabec9a064031c75d04654
parent46b3b7e8d27bf3bdeabaef564b642f9041a2e25b (diff)
Remove some unused stuff.
git-svn-id: svn://localhost/ardour2/branches/3.0@10331 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r--libs/ardour/ardour/return.h1
-rw-r--r--libs/ardour/ardour/route.h5
-rw-r--r--libs/ardour/route.cc47
3 files changed, 0 insertions, 53 deletions
diff --git a/libs/ardour/ardour/return.h b/libs/ardour/ardour/return.h
index 3d9fb9a9bd..153e50f482 100644
--- a/libs/ardour/ardour/return.h
+++ b/libs/ardour/ardour/return.h
@@ -73,7 +73,6 @@ private:
uint32_t _bitslot;
void collect_input (BufferSet& bufs, pframes_t nframes, ChanCount offset = ChanCount::ZERO);
- void just_meter_input (framepos_t start_frame, framepos_t end_frame, pframes_t nframes);
};
} // namespace ARDOUR
diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h
index 8dc3ea1b75..bc84fd9470 100644
--- a/libs/ardour/ardour/route.h
+++ b/libs/ardour/ardour/route.h
@@ -169,7 +169,6 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember,
bool denormal_protection() const;
void set_meter_point (MeterPoint, bool force = false);
- void infer_meter_point () const;
MeterPoint meter_point() const { return _meter_point; }
void meter ();
@@ -206,8 +205,6 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember,
boost::shared_ptr<Processor> nth_plugin (uint32_t n);
boost::shared_ptr<Processor> nth_send (uint32_t n);
- bool processor_is_prefader (boost::shared_ptr<Processor> p);
-
bool has_io_processor_named (const std::string&);
ChanCount max_processor_streams () const { return processor_max_streams; }
@@ -249,7 +246,6 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember,
void disable_plugins ();
void ab_plugins (bool forward);
void clear_processors (Placement);
- void all_processors_flip();
void all_processors_active (Placement, bool state);
framecnt_t set_private_port_latencies (bool playback) const;
@@ -411,7 +407,6 @@ class Route : public SessionObject, public Automatable, public RouteGroupMember,
void mod_solo_by_others_downstream (int32_t);
bool has_external_redirects() const;
void curve_reallocate ();
- void just_meter_input (framepos_t start_frame, framepos_t end_frame, pframes_t nframes);
virtual void set_block_size (pframes_t nframes);
protected:
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc
index 76b3f55d22..68d9553673 100644
--- a/libs/ardour/route.cc
+++ b/libs/ardour/route.cc
@@ -1627,28 +1627,6 @@ Route::configure_processors_unlocked (ProcessorStreams* err)
return 0;
}
-void
-Route::all_processors_flip ()
-{
- Glib::RWLock::ReaderLock lm (_processor_lock);
-
- if (_processors.empty()) {
- return;
- }
-
- bool first_is_on = _processors.front()->active();
-
- for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) {
- if (first_is_on) {
- (*i)->deactivate ();
- } else {
- (*i)->activate ();
- }
- }
-
- _session.set_dirty ();
-}
-
/** Set all processors with a given placement to a given active state.
* @param p Placement of processors to change.
* @param state New active state for those processors.
@@ -1676,31 +1654,6 @@ Route::all_processors_active (Placement p, bool state)
_session.set_dirty ();
}
-bool
-Route::processor_is_prefader (boost::shared_ptr<Processor> p)
-{
- bool pre_fader = true;
- Glib::RWLock::ReaderLock lm (_processor_lock);
-
- for (ProcessorList::iterator i = _processors.begin(); i != _processors.end(); ++i) {
-
- /* semantic note: if p == amp, we want to return true, so test
- for equality before checking if this is the amp
- */
-
- if ((*i) == p) {
- break;
- }
-
- if ((*i) == _amp) {
- pre_fader = false;
- break;
- }
- }
-
- return pre_fader;
-}
-
int
Route::reorder_processors (const ProcessorList& new_order, ProcessorStreams* err)
{