diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-04-23 17:48:37 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-04-23 17:48:37 +0000 |
commit | 28368793415ba934132994d8c10a5e149c1a8d9d (patch) | |
tree | 818d5f406e0c9b6f95f43faae0ff88d885a59ad6 /libs/ardour/ardour/io.h | |
parent | 0a22716b74d52fcbef37bebf529048f7f3bc79e0 (diff) |
remove offset from process callback tree. some breakage may have occured. yes, really.
git-svn-id: svn://localhost/ardour2/branches/3.0@4999 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/io.h')
-rw-r--r-- | libs/ardour/ardour/io.h | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/libs/ardour/ardour/io.h b/libs/ardour/ardour/io.h index 709a5368db..6b309bf50c 100644 --- a/libs/ardour/ardour/io.h +++ b/libs/ardour/ardour/io.h @@ -101,13 +101,11 @@ class IO : public SessionObject, public AutomatableControls, public Latent bool set_name (const string& str); - virtual void silence (nframes_t, nframes_t offset); + virtual void silence (nframes_t); - void collect_input (BufferSet& bufs, nframes_t nframes, nframes_t offset); - void deliver_output (BufferSet& bufs, nframes_t start_frame, nframes_t end_frame, - nframes_t nframes, nframes_t offset); - void just_meter_input (nframes_t start_frame, nframes_t end_frame, - nframes_t nframes, nframes_t offset); + void collect_input (BufferSet& bufs, nframes_t nframes); + void deliver_output (BufferSet& bufs, nframes_t start_frame, nframes_t end_frame, nframes_t nframes); + void just_meter_input (nframes_t start_frame, nframes_t end_frame, nframes_t nframes); BufferSet& output_buffers() { return *_output_buffers; } @@ -213,6 +211,7 @@ class IO : public SessionObject, public AutomatableControls, public Latent /// raised when the number of input or output ports changes static sigc::signal<void,ChanCount> PortCountChanged; static sigc::signal<int> PortsCreated; + static sigc::signal<void,nframes_t> CycleStart; static void update_meters(); static std::string name_from_state (const XMLNode&); @@ -287,9 +286,10 @@ class IO : public SessionObject, public AutomatableControls, public Latent bool _denormal_protection; XMLNode* deferred_state; DataType _default_type; + nframes_t _output_offset; - virtual void prepare_inputs (nframes_t nframes, nframes_t offset); - virtual void flush_outputs (nframes_t nframes, nframes_t offset); + virtual void prepare_inputs (nframes_t nframes); + virtual void flush_outputs (nframes_t nframes); virtual void set_deferred_state() {} @@ -310,13 +310,16 @@ class IO : public SessionObject, public AutomatableControls, public Latent int set_inputs (const string& str); int set_outputs (const string& str); + void increment_output_offset (nframes_t); + void cycle_start (nframes_t); + static bool connecting_legal; static bool ports_legal; private: static bool panners_legal; - void copy_to_outputs (BufferSet& bufs, DataType type, nframes_t nframes, nframes_t offset); + void copy_to_outputs (BufferSet& bufs, DataType type, nframes_t nframes); int connecting_became_legal (); int panners_became_legal (); |