aboutsummaryrefslogtreecommitdiff
path: root/src/pcm_resample.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-04-22 11:31:06 +0200
committerAnton Khirnov <anton@khirnov.net>2013-11-04 11:02:10 +0100
commit6fd304e5e6c8b386d3671f4932a74124fd37192a (patch)
tree0110c5339a4fe42276017f1fd74373baa1e25f22 /src/pcm_resample.h
parentd3018bfbb5f5712e6fe0f7ce534a362a0518d2c2 (diff)
Switch from autotools to a custom build system adapted from Libav.
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;