diff options
Diffstat (limited to 'libhfp/soundio-alsa.cpp')
-rw-r--r-- | libhfp/soundio-alsa.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libhfp/soundio-alsa.cpp b/libhfp/soundio-alsa.cpp index a41a937..36e9899 100644 --- a/libhfp/soundio-alsa.cpp +++ b/libhfp/soundio-alsa.cpp @@ -29,16 +29,19 @@ #include <libhfp/soundio.h> #include <libhfp/soundio-buf.h> +#if defined(USE_ALSA_SOUNDIO) +#include <alsa/asoundlib.h> +#endif + /* * ALSA backend SoundIo implementation, including support for procedural * and mmap access. */ -#if defined(USE_ALSA_SOUNDIO) -#include <alsa/asoundlib.h> - namespace libhfp { +#if defined(USE_ALSA_SOUNDIO) + /* * Linux ALSA sound I/O base class. * There are more specific ALSA classes for low-level procedural |