summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/processor.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-06-10 18:10:07 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-06-10 18:10:07 +0000
commit6e9b9294e1e7a22f31eabbafa39cee5844b3449a (patch)
tree67285ddc9b3cb0fa656ed711cc7d78cff35075d9 /libs/ardour/ardour/processor.h
parentff26317d4f7904c071d7ecfb96fd84e71728f6d0 (diff)
nick m's fix for markers etc ; several tweaks for mute/solo ; rename run_in_place() as run()
git-svn-id: svn://localhost/ardour2/branches/3.0@5155 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/processor.h')
-rw-r--r--libs/ardour/ardour/processor.h16
1 files changed, 1 insertions, 15 deletions
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; }