diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-29 08:31:23 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-29 08:31:23 +0200 |
| commit | b249700e1da7dd6631a8b4440587f4093a2bdef1 (patch) | |
| tree | 71f88855e72b11f927d194f0676bac93845d26be /src/lib/resampler.h | |
| parent | 94695fc3214917ad7310af36270ce1e0b88cdfa3 (diff) | |
Remove use of boost::noncopyable.
Diffstat (limited to 'src/lib/resampler.h')
| -rw-r--r-- | src/lib/resampler.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/resampler.h b/src/lib/resampler.h index 1f8200c69..5a3a7fa40 100644 --- a/src/lib/resampler.h +++ b/src/lib/resampler.h @@ -18,18 +18,23 @@ */ + #include "types.h" #include <samplerate.h> -#include <boost/utility.hpp> + class AudioBuffers; -class Resampler : public boost::noncopyable + +class Resampler { public: Resampler (int, int, int); ~Resampler (); + Resampler (Resampler const&) = delete; + Resampler& operator= (Resampler const&) = delete; + std::shared_ptr<const AudioBuffers> run (std::shared_ptr<const AudioBuffers>); std::shared_ptr<const AudioBuffers> flush (); void reset (); |
