X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fresampler.h;h=4b19dc511b891e988c33b4a89b22af8c78da4eb9;hb=ee0f2219f3799881bc9f5060edd2ceeecff4217d;hp=9d620b96282ecba02139414fa5612a5d070d7d3e;hpb=dc78a40b0c7ce4569874fd1e77a86df907937d50;p=dcpomatic.git diff --git a/src/lib/resampler.h b/src/lib/resampler.h index 9d620b962..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); - std::pair, Frame> flush (); + 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; };