VKeybd: include port-name in dropdown #8535
This commit is contained in:
parent
559ffcff63
commit
728d2a3771
@ -33,6 +33,7 @@
|
|||||||
|
|
||||||
#include "pbd/i18n.h"
|
#include "pbd/i18n.h"
|
||||||
|
|
||||||
|
#include "ardour/async_midi_port.h"
|
||||||
#include "ardour/audioengine.h"
|
#include "ardour/audioengine.h"
|
||||||
#include "ardour/bundle.h"
|
#include "ardour/bundle.h"
|
||||||
#include "ardour/session.h"
|
#include "ardour/session.h"
|
||||||
@ -120,6 +121,12 @@ Session::setup_bundles ()
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* now add virtual Vkeybd, compare to PortGroupList::gather */
|
||||||
|
if (_midi_ports) {
|
||||||
|
boost::shared_ptr<Port> ap = boost::dynamic_pointer_cast<Port> (vkbd_output_port ());
|
||||||
|
inputs[DataType::MIDI].push_back (AudioEngine::instance()->make_port_name_non_relative (ap->name ()));
|
||||||
|
}
|
||||||
|
|
||||||
/* Create a set of Bundle objects that map
|
/* Create a set of Bundle objects that map
|
||||||
to the physical I/O currently available. We create both
|
to the physical I/O currently available. We create both
|
||||||
mono and stereo bundles, so that the common cases of mono
|
mono and stereo bundles, so that the common cases of mono
|
||||||
|
Loading…
Reference in New Issue
Block a user