diff options
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/amp.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/delivery.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/io_processor.h | 1 | ||||
-rw-r--r-- | libs/ardour/ardour/meter.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/plugin_insert.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/port_insert.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/processor.h | 16 | ||||
-rw-r--r-- | libs/ardour/ardour/return.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/route.h | 6 | ||||
-rw-r--r-- | libs/ardour/ardour/send.h | 2 | ||||
-rw-r--r-- | libs/ardour/ardour/session.h | 3 |
11 files changed, 13 insertions, 27 deletions
diff --git a/libs/ardour/ardour/amp.h b/libs/ardour/ardour/amp.h index 03cc3d02f7..f758ca4de8 100644 --- a/libs/ardour/ardour/amp.h +++ b/libs/ardour/ardour/amp.h @@ -40,7 +40,7 @@ public: bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const; bool configure_io (ChanCount in, ChanCount out); - void run_in_place (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); + void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); bool apply_gain() const { return _apply_gain; } void apply_gain(bool yn) { _apply_gain = yn; } diff --git a/libs/ardour/ardour/delivery.h b/libs/ardour/ardour/delivery.h index 645b601251..c875f23fcc 100644 --- a/libs/ardour/ardour/delivery.h +++ b/libs/ardour/ardour/delivery.h @@ -50,7 +50,7 @@ public: bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const; bool configure_io (ChanCount in, ChanCount out); - void run_in_place (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); + void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); /* supplemental method use with MIDI */ diff --git a/libs/ardour/ardour/io_processor.h b/libs/ardour/ardour/io_processor.h index 72be2c0743..14d88d6b44 100644 --- a/libs/ardour/ardour/io_processor.h +++ b/libs/ardour/ardour/io_processor.h @@ -64,7 +64,6 @@ class IOProcessor : public Processor void set_input (boost::shared_ptr<IO>); void set_output (boost::shared_ptr<IO>); - void run_in_place (BufferSet& in, sframes_t start, sframes_t end, nframes_t nframes) = 0; void silence (nframes_t nframes); sigc::signal<void,IOProcessor*,bool> AutomationPlaybackChanged; diff --git a/libs/ardour/ardour/meter.h b/libs/ardour/ardour/meter.h index 43df5e936c..57afcc39ca 100644 --- a/libs/ardour/ardour/meter.h +++ b/libs/ardour/ardour/meter.h @@ -61,7 +61,7 @@ public: bool configure_io (ChanCount in, ChanCount out); /** Compute peaks */ - void run_in_place (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); + void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); float peak_power (uint32_t n) { if (n < _visible_peak_power.size()) { diff --git a/libs/ardour/ardour/plugin_insert.h b/libs/ardour/ardour/plugin_insert.h index 01cf9bedfd..2908803aab 100644 --- a/libs/ardour/ardour/plugin_insert.h +++ b/libs/ardour/ardour/plugin_insert.h @@ -54,7 +54,7 @@ class PluginInsert : public Processor XMLNode& get_state(void); int set_state(const XMLNode&); - void run_in_place (BufferSet& in, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); + void run (BufferSet& in, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); void silence (nframes_t nframes); void activate (); diff --git a/libs/ardour/ardour/port_insert.h b/libs/ardour/ardour/port_insert.h index fa9c31efe6..7447c5b3e8 100644 --- a/libs/ardour/ardour/port_insert.h +++ b/libs/ardour/ardour/port_insert.h @@ -51,7 +51,7 @@ class PortInsert : public IOProcessor XMLNode& get_state(void); int set_state(const XMLNode&); - void run_in_place (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); + void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); nframes_t signal_latency() const; diff --git a/libs/ardour/ardour/processor.h b/libs/ardour/ardour/processor.h index 61a266e9c5..06fcb81ce7 100644 --- a/libs/ardour/ardour/processor.h +++ b/libs/ardour/ardour/processor.h @@ -76,14 +76,7 @@ class Processor : public SessionObject, public AutomatableControls, public Laten virtual void set_block_size (nframes_t nframes) {} - virtual void run_in_place (BufferSet& bufs, - sframes_t start_frame, sframes_t end_frame, - nframes_t nframes) { assert(is_in_place()); } - - virtual void run_out_of_place (BufferSet& input, BufferSet& output, - sframes_t start_frame, sframes_t end_frame, - nframes_t nframes) { assert(is_out_of_place()); } - + virtual void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes) {} virtual void silence (nframes_t nframes) {} void activate () { _active = true; ActiveChanged(); } @@ -93,13 +86,6 @@ class Processor : public SessionObject, public AutomatableControls, public Laten /* Derived classes should override these, or processor appears as an in-place pass-through */ - /** In-place processors implement run_in_place and modify thee input buffer parameter */ - virtual bool is_in_place () const { return true; } - - /* Out-Of-Place processors implement run_out_of_place, don't modify the input parameter - * and write to their output parameter */ - virtual bool is_out_of_place () const { return false; } - virtual bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const = 0; virtual ChanCount input_streams () const { return _configured_input; } virtual ChanCount output_streams() const { return _configured_output; } diff --git a/libs/ardour/ardour/return.h b/libs/ardour/ardour/return.h index 5c2a82e3aa..3f75cc57b7 100644 --- a/libs/ardour/ardour/return.h +++ b/libs/ardour/ardour/return.h @@ -44,7 +44,7 @@ public: uint32_t bit_slot() const { return _bitslot; } - void run_in_place (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); + void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); boost::shared_ptr<Amp> amp() const { return _amp; } boost::shared_ptr<PeakMeter> meter() const { return _meter; } diff --git a/libs/ardour/ardour/route.h b/libs/ardour/ardour/route.h index a2ad716592..2a3580b187 100644 --- a/libs/ardour/ardour/route.h +++ b/libs/ardour/ardour/route.h @@ -129,10 +129,10 @@ class Route : public SessionObject, public AutomatableControls void set_solo_isolated (bool yn, void *src); bool solo_isolated() const; - void set_phase_invert (bool yn, void* src); + void set_phase_invert (bool yn); bool phase_invert() const; - void set_denormal_protection (bool yn, void* src); + void set_denormal_protection (bool yn); bool denormal_protection() const; void set_edit_group (RouteGroup *, void *); @@ -226,6 +226,8 @@ class Route : public SessionObject, public AutomatableControls nframes_t initial_delay() const { return _initial_delay; } sigc::signal<void> active_changed; + sigc::signal<void> phase_invert_changed; + sigc::signal<void> denormal_protection_changed; sigc::signal<void,void*> solo_changed; sigc::signal<void,void*> solo_safe_changed; sigc::signal<void,void*> solo_isolated_changed; diff --git a/libs/ardour/ardour/send.h b/libs/ardour/ardour/send.h index 302f512c9c..3a0eae21e5 100644 --- a/libs/ardour/ardour/send.h +++ b/libs/ardour/ardour/send.h @@ -55,7 +55,7 @@ class Send : public Delivery uint32_t pans_required() const { return _configured_input.n_audio(); } - void run_in_place (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); + void run (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes); bool can_support_io_configuration (const ChanCount& in, ChanCount& out) const; diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 614ab42eeb..2e161ff776 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -1466,13 +1466,12 @@ class Session : public PBD::StatefulDestructible, public boost::noncopyable /* mixer stuff */ bool solo_update_disabled; - bool currently_soloing; void route_mute_changed (void *src); void route_solo_changed (void *src, boost::weak_ptr<Route>); void catch_up_on_solo (); void catch_up_on_solo_mute_override (); - void update_route_solo_state (); + void update_route_solo_state (boost::shared_ptr<RouteList> r = boost::shared_ptr<RouteList>()); void modify_solo_mute (bool, bool); void strip_portname_for_solo (std::string& portname); |