Extract common code out into kdm_for_screen()
[dcpomatic.git] / src / lib / resampler.h
index 5ce766f809612fa96904491660d4c2149cd85c70..4b19dc511b891e988c33b4a89b22af8c78da4eb9 100644 (file)
@@ -28,11 +28,13 @@ class AudioBuffers;
 class Resampler : public boost::noncopyable
 {
 public:
-       Resampler (int, int, int, bool fast);
+       Resampler (int, int, int);
        ~Resampler ();
 
        boost::shared_ptr<const AudioBuffers> run (boost::shared_ptr<const AudioBuffers>);
        boost::shared_ptr<const AudioBuffers> flush ();
+       void reset ();
+       void set_fast ();
 
 private:
        SRC_STATE* _src;