From f227d182fa5a829fdeabf9eca8f33da5ce7f4e0d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 4 Sep 2015 21:51:54 +0100 Subject: Use libsamplerate for resampling instead of FFmpeg / libsoxr. libsoxr was crashing on Windows and seems somewhat unmaintained. --- src/lib/resampler.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/lib/resampler.h') diff --git a/src/lib/resampler.h b/src/lib/resampler.h index 36b991ddf..5a69d0983 100644 --- a/src/lib/resampler.h +++ b/src/lib/resampler.h @@ -18,9 +18,7 @@ */ #include "types.h" -extern "C" { -#include -} +#include #include #include @@ -36,7 +34,7 @@ public: boost::shared_ptr flush (); private: - SwrContext* _swr_context; + SRC_STATE* _src; int _in_rate; int _out_rate; int _channels; -- cgit v1.2.3