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/io.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/io.h')
-rw-r--r-- | libs/ardour/ardour/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/io.h b/libs/ardour/ardour/io.h index 5c746d7376..ee5d3ba85d 100644 --- a/libs/ardour/ardour/io.h +++ b/libs/ardour/ardour/io.h @@ -292,7 +292,7 @@ class IO : public PBD::StatefulDestructible void reset_panner (); virtual uint32_t pans_required() const - { return _inputs.count().get(DataType::AUDIO); } + { return _inputs.count().n_audio(); } struct GainControllable : public PBD::Controllable { GainControllable (std::string name, IO& i) : Controllable (name), io (i) {} |