MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_midi_devices()

std::vector< InputDeviceInfo > MayaFlux::Core::InputSubsystem::get_midi_devices ( ) const

Get all MIDI devices.

Definition at line 363 of file InputSubsystem.cpp.

364{
365 std::shared_lock lock(m_backends_mutex);
366 auto it = m_backends.find(InputType::MIDI);
367 return (it != m_backends.end()) ? it->second->get_devices() : std::vector<InputDeviceInfo> {};
368}
std::unordered_map< InputType, std::unique_ptr< IInputBackend > > m_backends
@ MIDI
MIDI controllers and instruments.

References m_backends, m_backends_mutex, and MayaFlux::Core::MIDI.

Referenced by MayaFlux::get_midi_devices().

+ Here is the caller graph for this function: