X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fresampler.h;h=4b19dc511b891e988c33b4a89b22af8c78da4eb9;hb=f06c5136e7d3cd0a8e1814763c7774859998efe4;hp=9e9304fb421c7d46ca529702c635a09c67133ed1;hpb=0a2fe723109c6a8fbb61ea5721b5a475e4b480d0;p=dcpomatic.git diff --git a/src/lib/resampler.h b/src/lib/resampler.h index 9e9304fb4..4b19dc511 100644 --- a/src/lib/resampler.h +++ b/src/lib/resampler.h @@ -31,8 +31,8 @@ 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 (); @@ -41,6 +41,4 @@ private: int _in_rate; int _out_rate; int _channels; - boost::optional _next_in; - boost::optional _next_out; };