diff options
author | David Robillard <d@drobilla.net> | 2007-05-10 03:50:17 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-05-10 03:50:17 +0000 |
commit | 9a4a9cbb63958484553ed981822ca97ceb1dc4f5 (patch) | |
tree | 6888079450c5ba74d195732fafc99de8d8531c36 /libs/ardour/ardour/send.h | |
parent | 2a52135c663e9a60b5f0cc9cc6673799c3ea5549 (diff) |
Added nicer looking wrapper methods for ChanCount::get(DataType), sedified code to use it.
git-svn-id: svn://localhost/ardour2/trunk@1816 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/send.h')
-rw-r--r-- | libs/ardour/ardour/send.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/send.h b/libs/ardour/ardour/send.h index 4e3c0fbe2d..d3ce6ddee8 100644 --- a/libs/ardour/ardour/send.h +++ b/libs/ardour/ardour/send.h @@ -53,7 +53,7 @@ class Send : public Redirect XMLNode& get_state(void); int set_state(const XMLNode& node); - uint32_t pans_required() const { return _expected_inputs.get(DataType::AUDIO); } + uint32_t pans_required() const { return _expected_inputs.n_audio(); } void expect_inputs (const ChanCount&); static uint32_t how_many_sends(); |