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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user