Fixes to MIDI ports in the matrix.

git-svn-id: svn://localhost/ardour2/branches/3.0@7526 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington
2010-08-01 10:26:02 +00:00
parent a6a34361e6
commit 90c6ca876a
2 changed files with 3 additions and 3 deletions

View File

@@ -469,7 +469,7 @@ PortGroupList::gather (ARDOUR::Session* session, ARDOUR::DataType type, bool inp
connections.
*/
if (p.find ("MIDI-Through") != string::npos) {
if (p.find ("Midi-Through") != string::npos) {
++n;
continue;
}

View File

@@ -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);