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
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 ();
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; }
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;
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:
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.
_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)
{