diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-05-10 02:34:20 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-05-10 02:34:20 +0000 |
commit | 2a52135c663e9a60b5f0cc9cc6673799c3ea5549 (patch) | |
tree | 2da263177b2d5386fcf234fb20884bcaa755501a /libs/ardour/ardour/send.h | |
parent | 402e49b40685d4a7eb75c5ccc930fd5bfa2e2910 (diff) | |
parent | 7f64e5ac4cec85859aa162fcdad0cc91cb015561 (diff) |
MIDI branch becomes trunk
git-svn-id: svn://localhost/ardour2/trunk@1815 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/send.h')
-rw-r--r-- | libs/ardour/ardour/send.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libs/ardour/ardour/send.h b/libs/ardour/ardour/send.h index 92e4fdade2..4e3c0fbe2d 100644 --- a/libs/ardour/ardour/send.h +++ b/libs/ardour/ardour/send.h @@ -42,7 +42,8 @@ class Send : public Redirect uint32_t bit_slot() const { return bitslot; } - void run (vector<Sample *> &bufs, uint32_t nbufs, nframes_t nframes, nframes_t offset); + void run (BufferSet& bufs, nframes_t start_frame, nframes_t end_frame, nframes_t nframes, nframes_t offset); + void activate() {} void deactivate () {} @@ -52,14 +53,14 @@ class Send : public Redirect XMLNode& get_state(void); int set_state(const XMLNode& node); - uint32_t pans_required() const { return expected_inputs; } - void expect_inputs (uint32_t); + uint32_t pans_required() const { return _expected_inputs.get(DataType::AUDIO); } + void expect_inputs (const ChanCount&); static uint32_t how_many_sends(); private: - bool _metering; - uint32_t expected_inputs; + bool _metering; + ChanCount _expected_inputs; uint32_t bitslot; }; |