use original names for ARDOUR MIDI "persistent" ports (MMC, MTC, etc)
This commit is contained in:
parent
5abeb799cf
commit
fc040a72e9
@ -73,11 +73,11 @@ MidiPortManager::create_ports ()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
_midi_in = AudioEngine::instance()->register_input_port (DataType::MIDI, _("control in"), true);
|
_midi_in = AudioEngine::instance()->register_input_port (DataType::MIDI, _("MIDI control in"), true);
|
||||||
_midi_out = AudioEngine::instance()->register_output_port (DataType::MIDI, _("control out"), true);
|
_midi_out = AudioEngine::instance()->register_output_port (DataType::MIDI, _("MIDI control out"), true);
|
||||||
|
|
||||||
_mmc_in = AudioEngine::instance()->register_input_port (DataType::MIDI, _("mmc in"), true);
|
_mmc_in = AudioEngine::instance()->register_input_port (DataType::MIDI, _("MMC in"), true);
|
||||||
_mmc_out = AudioEngine::instance()->register_output_port (DataType::MIDI, _("mmc out"), true);
|
_mmc_out = AudioEngine::instance()->register_output_port (DataType::MIDI, _("MMC out"), true);
|
||||||
|
|
||||||
/* XXX nasty type conversion needed because of the mixed inheritance
|
/* XXX nasty type conversion needed because of the mixed inheritance
|
||||||
* required to integrate MIDI::IPMidiPort and ARDOUR::AsyncMIDIPort.
|
* required to integrate MIDI::IPMidiPort and ARDOUR::AsyncMIDIPort.
|
||||||
@ -98,14 +98,14 @@ MidiPortManager::create_ports ()
|
|||||||
|
|
||||||
boost::shared_ptr<ARDOUR::Port> p;
|
boost::shared_ptr<ARDOUR::Port> p;
|
||||||
|
|
||||||
p = AudioEngine::instance()->register_input_port (DataType::MIDI, _("timecode in"));
|
p = AudioEngine::instance()->register_input_port (DataType::MIDI, _("MTC in"));
|
||||||
_mtc_input_port = boost::dynamic_pointer_cast<MidiPort> (p);
|
_mtc_input_port = boost::dynamic_pointer_cast<MidiPort> (p);
|
||||||
p = AudioEngine::instance()->register_output_port (DataType::MIDI, _("timecode out"));
|
p = AudioEngine::instance()->register_output_port (DataType::MIDI, _("MTC out"));
|
||||||
_mtc_output_port= boost::dynamic_pointer_cast<MidiPort> (p);
|
_mtc_output_port= boost::dynamic_pointer_cast<MidiPort> (p);
|
||||||
|
|
||||||
p = AudioEngine::instance()->register_input_port (DataType::MIDI, _("clock in"));
|
p = AudioEngine::instance()->register_input_port (DataType::MIDI, _("MIDI Clock in"));
|
||||||
_midi_clock_input_port = boost::dynamic_pointer_cast<MidiPort> (p);
|
_midi_clock_input_port = boost::dynamic_pointer_cast<MidiPort> (p);
|
||||||
p = AudioEngine::instance()->register_output_port (DataType::MIDI, _("clock out"));
|
p = AudioEngine::instance()->register_output_port (DataType::MIDI, _("MIDI Clock out"));
|
||||||
_midi_clock_output_port= boost::dynamic_pointer_cast<MidiPort> (p);
|
_midi_clock_output_port= boost::dynamic_pointer_cast<MidiPort> (p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user