aboutsummaryrefslogtreecommitdiff
path: root/src/pcm_resample.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm_resample.h')
-rw-r--r--src/pcm_resample.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm_resample.h b/src/pcm_resample.h
index a49a2414..8e73659d 100644
--- a/src/pcm_resample.h
+++ b/src/pcm_resample.h
@@ -27,7 +27,7 @@
#include <stddef.h>
#include <stdbool.h>
-#ifdef HAVE_LIBSAMPLERATE
+#if CONFIG_LIBSAMPLERATE
#include <samplerate.h>
#endif
@@ -36,7 +36,7 @@
* holds buffer allocations and the state for the resampler.
*/
struct pcm_resample_state {
-#ifdef HAVE_LIBSAMPLERATE
+#if CONFIG_LIBSAMPLERATE
SRC_STATE *state;
SRC_DATA data;