diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-01 10:26:02 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-01 10:26:02 +0000 |
commit | 90c6ca876a4200a53fe4cf7131571fd0315cfe47 (patch) | |
tree | ae7dca1bb441b55ad837605380dfd058aad2c908 /libs/ardour/session.cc | |
parent | a6a34361e689d5ea54fd0039689ee4537fbdced7 (diff) |
Fixes to MIDI ports in the matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@7526 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index ed2d401cca..3bee1bc49e 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -511,7 +511,7 @@ Session::when_engine_running () string n = inputs[DataType::MIDI][np]; boost::erase_first (n, X_("alsa_pcm:")); - shared_ptr<Bundle> c (new Bundle (n, true)); + shared_ptr<Bundle> c (new Bundle (n, false)); c->add_channel ("", DataType::MIDI); c->set_port (0, inputs[DataType::MIDI][np]); add_bundle (c); @@ -523,7 +523,7 @@ Session::when_engine_running () string n = outputs[DataType::MIDI][np]; boost::erase_first (n, X_("alsa_pcm:")); - shared_ptr<Bundle> c (new Bundle (n, false)); + shared_ptr<Bundle> c (new Bundle (n, true)); c->add_channel ("", DataType::MIDI); c->set_port (0, outputs[DataType::MIDI][np]); add_bundle (c); |