X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fresampler.h;h=69ec83ba93047f3493cd23005487b7845580944e;hb=2d5b8cdde08044d323aa7193dfac6c9f8bca7131;hp=21979846eaffa931afc548e74d963adfc219f26b;hpb=49deab5be257f3a11f5b053224f4a3218fad8da3;p=dcpomatic.git diff --git a/src/lib/resampler.h b/src/lib/resampler.h index 21979846e..69ec83ba9 100644 --- a/src/lib/resampler.h +++ b/src/lib/resampler.h @@ -1,17 +1,39 @@ +/* + Copyright (C) 2013 Carl Hetherington + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + #include +#include extern "C" { #include } +#include "types.h" +#include "audio_content.h" class AudioBuffers; -class Resampler +class Resampler : public boost::noncopyable { public: Resampler (int, int, int); ~Resampler (); - boost::shared_ptr run (boost::shared_ptr); + std::pair, AudioContent::Frame> run (boost::shared_ptr, AudioContent::Frame); boost::shared_ptr flush (); private: