Expose virtual-keyboard port as async-port
This commit is contained in:
parent
0d86819a2b
commit
eade673771
@ -34,6 +34,7 @@
|
||||
|
||||
namespace ARDOUR {
|
||||
|
||||
class AsyncMIDIPort;
|
||||
class MidiPort;
|
||||
class Port;
|
||||
|
||||
@ -94,10 +95,7 @@ public:
|
||||
}
|
||||
|
||||
/* Virtual MIDI keyboard output */
|
||||
boost::shared_ptr<ARDOUR::Port> vkbd_output_port () const
|
||||
{
|
||||
return boost::dynamic_pointer_cast<MidiPort> (_vkbd_out);
|
||||
}
|
||||
boost::shared_ptr<AsyncMIDIPort> vkbd_output_port () const;
|
||||
|
||||
void set_midi_port_states (const XMLNodeList&);
|
||||
std::list<XMLNode*> get_midi_port_states () const;
|
||||
|
@ -118,6 +118,7 @@ class Curve;
|
||||
namespace ARDOUR {
|
||||
|
||||
class Amp;
|
||||
class AsyncMIDIPort;
|
||||
class AudioEngine;
|
||||
class AudioFileSource;
|
||||
class AudioRegion;
|
||||
@ -1200,7 +1201,8 @@ public:
|
||||
boost::shared_ptr<Port> mmc_input_port () const;
|
||||
boost::shared_ptr<Port> scene_input_port () const;
|
||||
boost::shared_ptr<Port> scene_output_port () const;
|
||||
boost::shared_ptr<Port> vkbd_output_port () const;
|
||||
|
||||
boost::shared_ptr<AsyncMIDIPort> vkbd_output_port () const;
|
||||
|
||||
/* synchronous MIDI ports used for synchronization */
|
||||
|
||||
|
@ -147,4 +147,8 @@ MidiPortManager::get_midi_port_states () const
|
||||
return s;
|
||||
}
|
||||
|
||||
|
||||
boost::shared_ptr<AsyncMIDIPort>
|
||||
MidiPortManager::vkbd_output_port () const
|
||||
{
|
||||
return boost::dynamic_pointer_cast<AsyncMIDIPort> (_vkbd_out);
|
||||
}
|
||||
|
@ -692,7 +692,7 @@ Session::scene_input_port () const
|
||||
return _midi_ports->scene_input_port ();
|
||||
}
|
||||
|
||||
boost::shared_ptr<ARDOUR::Port>
|
||||
boost::shared_ptr<AsyncMIDIPort>
|
||||
Session::vkbd_output_port () const
|
||||
{
|
||||
return _midi_ports->vkbd_output_port ();
|
||||
|
Loading…
Reference in New Issue
Block a user