spa: alsa: allow building without UMP in libalsa

Allow building with older libalsa releases that don't have UMP.
This commit is contained in:
Nikolay Borodin 2025-03-09 18:52:49 +02:00 committed by P V
parent 9bc29b4b37
commit 6620c6cde1
4 changed files with 66 additions and 3 deletions

View file

@ -13,7 +13,9 @@ extern "C" {
#include <math.h>
#include <alsa/asoundlib.h>
#ifdef ALSA_UMP
#include <alsa/ump_msg.h>
#endif
#include <spa/support/plugin.h>
#include <spa/support/loop.h>