diff options
Diffstat (limited to 'src/lib/resampler.h')
| -rw-r--r-- | src/lib/resampler.h | 6 |
1 files changed, 2 insertions, 4 deletions
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 <libswresample/swresample.h> -} +#include <samplerate.h> #include <boost/shared_ptr.hpp> #include <boost/utility.hpp> @@ -36,7 +34,7 @@ public: boost::shared_ptr<const AudioBuffers> flush (); private: - SwrContext* _swr_context; + SRC_STATE* _src; int _in_rate; int _out_rate; int _channels; |
