diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-06-09 20:21:19 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-06-09 20:21:19 +0000 |
commit | e6eb059576eefd9a26c177627ae7dd3ba2feb727 (patch) | |
tree | 536ce6ee456f2306bb0346a51ede0a4aa64a8e63 /libs/ardour/ardour/processor.h | |
parent | 9bd274bfdee62c9cc0e5752d2a72027d2c732cd0 (diff) |
the big Route structure refactor. !!!! THIS WILL ***NOT LOAD*** PRIOR 3.0 or 2.X SESSIONS !!!! BREAKAGE IS EXPECTED !!!! IF YOU HAVE AND NEED A WORKING 3.0 DO **NOT** UPDATE. !!!! otherwise, update and enjoy the steadily emerging joys of this major reworking of ardour internals
git-svn-id: svn://localhost/ardour2/branches/3.0@5137 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/processor.h')
-rw-r--r-- | libs/ardour/ardour/processor.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/libs/ardour/ardour/processor.h b/libs/ardour/ardour/processor.h index 73a93b31d9..61a266e9c5 100644 --- a/libs/ardour/ardour/processor.h +++ b/libs/ardour/ardour/processor.h @@ -53,24 +53,26 @@ class Processor : public SessionObject, public AutomatableControls, public Laten virtual ~Processor() { } - /** Configuration of a processor on a bus - * (i.e. how to apply to a BufferSet) - */ - struct Mapping { - ChanCount in; - ChanCount out; - }; - virtual bool visible() const { return true; } bool active () const { return _active; } + + /* we keep loose tabs on the "placement" of a Processor. Ultimately, + they are all executed as a single list, but there are some + semantics that require knowing whether a Processor is before + or after the fader, or panner etc. See Route::reorder_processors() + to see where this gets set. + */ + + Placement placement() const { return _placement; } + void set_placement (Placement p) { _placement = p; } bool get_next_ab_is_active () const { return _next_ab_is_active; } void set_next_ab_is_active (bool yn) { _next_ab_is_active = yn; } virtual nframes_t signal_latency() const { return 0; } - virtual void transport_stopped (nframes_t frame) {} + virtual void transport_stopped (sframes_t frame) {} virtual void set_block_size (nframes_t nframes) {} @@ -127,7 +129,7 @@ protected: ChanCount _configured_input; ChanCount _configured_output; void* _gui; /* generic, we don't know or care what this is */ - Mapping _mapping; + Placement _placement; }; } // namespace ARDOUR |