mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
Retain "Virtual Keyboard" pretty name across engine restarts
This commit is contained in:
parent
3d44f39c09
commit
ed5a9979ea
2 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,6 @@ MidiPortManager::create_ports ()
|
|||
|
||||
_vkbd_out = AudioEngine::instance()->register_output_port (DataType::MIDI, X_("x-virtual-keyboard"), true, IsTerminal);
|
||||
boost::dynamic_pointer_cast<AsyncMIDIPort>(_vkbd_out)->set_flush_at_cycle_start (true);
|
||||
_vkbd_out->set_pretty_name (_("Virtual Keyboard"));
|
||||
|
||||
/* Now register ports used to send positional sync data (MTC and MIDI Clock) */
|
||||
|
||||
|
|
|
|||
|
|
@ -125,6 +125,7 @@ Session::setup_bundles ()
|
|||
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 ()));
|
||||
ap->set_pretty_name (_("Virtual Keyboard"));
|
||||
}
|
||||
|
||||
/* Create a set of Bundle objects that map
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue