File tree Expand file tree Collapse file tree
include/libremidi/backends Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ class observer_impl
319319 // TODO
320320 break ;
321321 }
322- #if __has_include(<alsa/ump.h>)
322+ #if LIBREMIDI_ALSA_HAS_UMP_SEQ_EVENTS
323323 case SND_SEQ_EVENT_UMP_EP_CHANGE: {
324324 // TODO
325325 break ;
@@ -440,7 +440,7 @@ class observer_threaded : public observer_impl<ConfigurationImpl>
440440 case SND_SEQ_EVENT_CLIENT_EXIT:
441441 case SND_SEQ_EVENT_CLIENT_CHANGE:
442442
443- #if __has_include(<alsa/ump.h>)
443+ #if LIBREMIDI_ALSA_HAS_UMP_SEQ_EVENTS
444444 case SND_SEQ_EVENT_UMP_EP_CHANGE:
445445 case SND_SEQ_EVENT_UMP_BLOCK_CHANGE:
446446#endif
Original file line number Diff line number Diff line change 1313 #if __has_include(<alsa/ump.h>) && SND_LIB_VERSION >= ((1 << 16) | (2 << 8) | 10)
1414 #define LIBREMIDI_ALSA_HAS_UMP 1
1515 #endif
16+
17+ #if __has_include(<alsa/ump.h>) && SND_LIB_VERSION >= ((1 << 16) | (2 << 8) | 14)
18+ #define LIBREMIDI_ALSA_HAS_UMP_SEQ_EVENTS 1
19+ #endif
1620#endif
1721
1822namespace libremidi
You can’t perform that action at this time.
0 commit comments