Skip to content

Commit

Permalink
alsa: seems some apps only set port_type_application
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Dec 22, 2024
1 parent 0e599ae commit 38ff62a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/libremidi/backends/alsa_seq/observer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ class observer_impl
const auto tp = snd.seq.port_info_get_type(pinfo);
bool ok = this->configuration.track_any;

static constexpr auto virtual_port
= SND_SEQ_PORT_TYPE_SOFTWARE | SND_SEQ_PORT_TYPE_SYNTHESIZER;
static constexpr auto virtual_port = SND_SEQ_PORT_TYPE_SOFTWARE | SND_SEQ_PORT_TYPE_SYNTHESIZER
| SND_SEQ_PORT_TYPE_APPLICATION;

if ((tp & SND_SEQ_PORT_TYPE_HARDWARE) && this->configuration.track_hardware)
ok = true;
Expand Down

0 comments on commit 38ff62a

Please sign in to comment.