mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
standardize port-names
This commit is contained in:
parent
17806b8cbb
commit
fe0802169c
1 changed files with 2 additions and 2 deletions
|
|
@ -1303,7 +1303,7 @@ PortAudioBackend::register_system_midi_ports()
|
|||
for (std::vector<WinMMEMidiInputDevice*>::const_iterator i = inputs.begin ();
|
||||
i != inputs.end ();
|
||||
++i) {
|
||||
std::string port_name = "system_midi:" + (*i)->name() + " capture";
|
||||
std::string port_name = "system:midi_capture_" + (*i)->name();
|
||||
PortHandle p =
|
||||
add_port (port_name,
|
||||
DataType::MIDI,
|
||||
|
|
@ -1321,7 +1321,7 @@ PortAudioBackend::register_system_midi_ports()
|
|||
for (std::vector<WinMMEMidiOutputDevice*>::const_iterator i = outputs.begin ();
|
||||
i != outputs.end ();
|
||||
++i) {
|
||||
std::string port_name = "system_midi:" + (*i)->name() + " playback";
|
||||
std::string port_name = "system:midi_playback_" + (*i)->name();
|
||||
PortHandle p =
|
||||
add_port (port_name,
|
||||
DataType::MIDI,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue