From 15af67c179ce336867c8f783388384f3ce214a99 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 13 Oct 2007 18:10:57 +0000 Subject: Fix up physical port bundles. git-svn-id: svn://localhost/ardour2/trunk@2554 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/session.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index e7f2c542e6..2473490f5b 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -599,7 +599,7 @@ Session::when_engine_running () char buf[32]; snprintf (buf, sizeof (buf), _("out %" PRIu32), np+1); - shared_ptr c (new OutputBundle (buf, true)); + shared_ptr c (new InputBundle (buf, true)); c->set_nchannels (1); c->add_port_to_channel (0, _engine.get_nth_physical_output (DataType::AUDIO, np)); @@ -610,7 +610,7 @@ Session::when_engine_running () char buf[32]; snprintf (buf, sizeof (buf), _("in %" PRIu32), np+1); - shared_ptr c (new InputBundle (buf, true)); + shared_ptr c (new OutputBundle (buf, true)); c->set_nchannels (1); c->add_port_to_channel (0, _engine.get_nth_physical_input (DataType::AUDIO, np)); @@ -623,7 +623,7 @@ Session::when_engine_running () char buf[32]; snprintf (buf, sizeof (buf), _("out %" PRIu32 "+%" PRIu32), np+1, np+2); - shared_ptr c (new OutputBundle (buf, true)); + shared_ptr c (new InputBundle (buf, true)); c->set_nchannels (2); c->add_port_to_channel (0, _engine.get_nth_physical_output (DataType::AUDIO, np)); c->add_port_to_channel (1, _engine.get_nth_physical_output (DataType::AUDIO, np+1)); @@ -635,7 +635,7 @@ Session::when_engine_running () char buf[32]; snprintf (buf, sizeof (buf), _("in %" PRIu32 "+%" PRIu32), np+1, np+2); - shared_ptr c (new InputBundle (buf, true)); + shared_ptr c (new OutputBundle (buf, true)); c->set_nchannels (2); c->add_port_to_channel (0, _engine.get_nth_physical_input (DataType::AUDIO, np)); c->add_port_to_channel (1, _engine.get_nth_physical_input (DataType::AUDIO, np+1)); -- cgit v1.2.3