diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-02-15 14:13:56 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2023-02-16 16:38:47 +0200 |
commit | dd068794c3fc811ca3011e63bd74ee50f2ccc591 (patch) | |
tree | a69b925d659ff39bdcac8078e5288a4b81c397b7 /drivers/alsa/audio_driver_alsa.h | |
parent | 953383328af17e8c9fd6359285c12617cb22f636 (diff) |
[Linux] Make SO wrapper usage optional.
Diffstat (limited to 'drivers/alsa/audio_driver_alsa.h')
-rw-r--r-- | drivers/alsa/audio_driver_alsa.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/alsa/audio_driver_alsa.h b/drivers/alsa/audio_driver_alsa.h index 821ba1d145..b62d7188dd 100644 --- a/drivers/alsa/audio_driver_alsa.h +++ b/drivers/alsa/audio_driver_alsa.h @@ -38,7 +38,11 @@ #include "core/templates/safe_refcount.h" #include "servers/audio_server.h" +#ifdef SOWRAP_ENABLED #include "asound-so_wrap.h" +#else +#include <alsa/asoundlib.h> +#endif class AudioDriverALSA : public AudioDriver { Thread thread; |