Remove some unused stuff.

git-svn-id: svn://localhost/ardour2/branches/3.0@10331 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-10-29 02:09:40 +00:00
parent 46b3b7e8d2
commit d8b3ff1fce
3 changed files with 0 additions and 53 deletions

View file

@ -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

View file

@ -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:

View file

@ -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)
{