Remove some unused stuff.
authorCarl Hetherington <carl@carlh.net>
Sat, 29 Oct 2011 02:09:40 +0000 (02:09 +0000)
committerCarl Hetherington <carl@carlh.net>
Sat, 29 Oct 2011 02:09:40 +0000 (02:09 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@10331 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/ardour/ardour/return.h
libs/ardour/ardour/route.h
libs/ardour/route.cc

index 3d9fb9a9bda61d7917cddd19dbe554800d683f2a..153e50f4823671f53a0bcf28f62c6eca8f7ed810 100644 (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
index 8dc3ea1b75aa815f86e4820af9ce5568f313410c..bc84fd947093c728016fb67256411ea1da1502b9 100644 (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:
index 76b3f55d226904d6c6ddcbd6025b00db81d1de92..68d9553673c91b77f38f1878f23f248a140970e3 100644 (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)
 {