Setup fast state of decoder after creation.
[dcpomatic.git] / src / lib / resampler.h
index 4b19dc511b891e988c33b4a89b22af8c78da4eb9..dfd3ffd089f8ec7861910965b7fdcf5429e5b316 100644 (file)
@@ -34,11 +34,12 @@ public:
        boost::shared_ptr<const AudioBuffers> run (boost::shared_ptr<const AudioBuffers>);
        boost::shared_ptr<const AudioBuffers> flush ();
        void reset ();
-       void set_fast ();
+       void set_fast (bool fast);
 
 private:
        SRC_STATE* _src;
        int _in_rate;
        int _out_rate;
        int _channels;
+       bool _fast;
 };