diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-11 17:26:16 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-11 17:26:16 +0100 |
| commit | 39c36075c62ce4c148ce14de0ae7b29d8427be2b (patch) | |
| tree | 81e90e8065df9c1d68a6e6be646c5825400538dd /src/lib/resampler.h | |
| parent | 6ff93316d9e89fd649b9fabac258318ed8470007 (diff) | |
| parent | 8bdc282a88cbd0446b06866b9436c43200886314 (diff) | |
Merge branch '1.0' of /home/carl/git/dvdomatic into 1.0
Diffstat (limited to 'src/lib/resampler.h')
| -rw-r--r-- | src/lib/resampler.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/lib/resampler.h b/src/lib/resampler.h index cda718934..7c85773c0 100644 --- a/src/lib/resampler.h +++ b/src/lib/resampler.h @@ -1,3 +1,22 @@ +/* + Copyright (C) 2013 Carl Hetherington <cth@carlh.net> + + 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 <boost/shared_ptr.hpp> extern "C" { #include <libswresample/swresample.h> @@ -12,6 +31,7 @@ public: ~Resampler (); boost::shared_ptr<const AudioBuffers> run (boost::shared_ptr<const AudioBuffers>); + boost::shared_ptr<const AudioBuffers> flush (); private: SwrContext* _swr_context; |
