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

◆ port_matches_filter()

bool MayaFlux::Core::MIDIBackend::port_matches_filter ( const std::string &  port_name) const
private

Definition at line 318 of file MIDIBackend.cpp.

319{
320 if (m_config.input_port_filters.empty()) {
321 return true;
322 }
323
324 return std::ranges::any_of(m_config.input_port_filters,
325 [&port_name](const std::string& filter) {
326 return port_name.find(filter) != std::string::npos;
327 });
328}
std::vector< std::string > input_port_filters

References MayaFlux::Core::MIDIBackend::Config::input_port_filters, and m_config.

Referenced by refresh_devices().

+ Here is the caller graph for this function: