X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fresampler.h;h=4b19dc511b891e988c33b4a89b22af8c78da4eb9;hb=447ee98f36b5ae2cd40b98e4316dc4428b374d90;hp=359598b122b17b4f1dbe30139eaba8ce91409bbe;hpb=89aa9d4ba69e471949f791cdafe4ae20cea554d2;p=dcpomatic.git diff --git a/src/lib/resampler.h b/src/lib/resampler.h index 359598b12..4b19dc511 100644 --- a/src/lib/resampler.h +++ b/src/lib/resampler.h @@ -31,8 +31,9 @@ public: Resampler (int, int, int); ~Resampler (); - std::pair, Frame> run (boost::shared_ptr, Frame); + boost::shared_ptr run (boost::shared_ptr); boost::shared_ptr flush (); + void reset (); void set_fast (); private: @@ -40,6 +41,4 @@ private: int _in_rate; int _out_rate; int _channels; - boost::optional _next_in; - boost::optional _next_out; };