X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fresampler.h;h=5a3a7fa40406c8dca974fa61da7cb4c18a71b8f6;hb=b249700e1da7dd6631a8b4440587f4093a2bdef1;hp=5ce766f809612fa96904491660d4c2149cd85c70;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/lib/resampler.h b/src/lib/resampler.h index 5ce766f80..5a3a7fa40 100644 --- a/src/lib/resampler.h +++ b/src/lib/resampler.h @@ -18,21 +18,27 @@ */ + #include "types.h" #include -#include -#include + class AudioBuffers; -class Resampler : public boost::noncopyable + +class Resampler { public: - Resampler (int, int, int, bool fast); + Resampler (int, int, int); ~Resampler (); - boost::shared_ptr run (boost::shared_ptr); - boost::shared_ptr flush (); + Resampler (Resampler const&) = delete; + Resampler& operator= (Resampler const&) = delete; + + std::shared_ptr run (std::shared_ptr); + std::shared_ptr flush (); + void reset (); + void set_fast (); private: SRC_STATE* _src;