summaryrefslogtreecommitdiff
path: root/src/lib/resampler.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-25 22:04:20 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-25 22:04:20 +0100
commit78e5a331074a456097a162d47501daf1df1ab1a3 (patch)
tree17dbc6cd0e3e6a4878277959d7cd86129fb516b4 /src/lib/resampler.h
parent991244a0d4be149e8733a8dd70bfd745cab72583 (diff)
Hopefully much cleaner handling of PTS changes under resample.
Diffstat (limited to 'src/lib/resampler.h')
-rw-r--r--src/lib/resampler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/resampler.h b/src/lib/resampler.h
index 6e282838a..69ec83ba9 100644
--- a/src/lib/resampler.h
+++ b/src/lib/resampler.h
@@ -22,6 +22,8 @@
extern "C" {
#include <libswresample/swresample.h>
}
+#include "types.h"
+#include "audio_content.h"
class AudioBuffers;
@@ -31,7 +33,7 @@ public:
Resampler (int, int, int);
~Resampler ();
- boost::shared_ptr<const AudioBuffers> run (boost::shared_ptr<const AudioBuffers>);
+ std::pair<boost::shared_ptr<const AudioBuffers>, AudioContent::Frame> run (boost::shared_ptr<const AudioBuffers>, AudioContent::Frame);
boost::shared_ptr<const AudioBuffers> flush ();
private: