summaryrefslogtreecommitdiff
path: root/libs/ardour/chan_count.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-04-16 16:02:25 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-04-16 16:02:25 +0000
commita4b8955f3eb87405ceafe5c8680d9439f441458e (patch)
treecad2bf815f268ec1fdad34c1cc09089289ee3736 /libs/ardour/chan_count.cc
parent60eef7dd3e0240367550a274a91ddb498dedcbc2 (diff)
part 2 of 3 of the 2.8 -> 3.0 merge
git-svn-id: svn://localhost/ardour2/branches/3.0@4987 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/chan_count.cc')
-rw-r--r--libs/ardour/chan_count.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/chan_count.cc b/libs/ardour/chan_count.cc
index eb5033bcfc..1c892c1a87 100644
--- a/libs/ardour/chan_count.cc
+++ b/libs/ardour/chan_count.cc
@@ -44,5 +44,8 @@ infinity_factory()
const ChanCount ChanCount::INFINITE = infinity_factory();
const ChanCount ChanCount::ZERO = ChanCount();
-
} // namespace ARDOUR
+
+std::ostream& operator<<(std::ostream& o, const ARDOUR::ChanCount& c) {
+ return o << "AUDIO=" << c.n_audio() << ":MIDI=" << c.n_midi();
+}