summaryrefslogtreecommitdiff
path: root/src/lib/player.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/player.h
parent991244a0d4be149e8733a8dd70bfd745cab72583 (diff)
Hopefully much cleaner handling of PTS changes under resample.
Diffstat (limited to 'src/lib/player.h')
-rw-r--r--src/lib/player.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/player.h b/src/lib/player.h
index 5b1b6936b..cd480dd1a 100644
--- a/src/lib/player.h
+++ b/src/lib/player.h
@@ -35,6 +35,7 @@ class Playlist;
class AudioContent;
class Piece;
class Image;
+class Resampler;
/** @class Player
* @brief A class which can `play' a Playlist; emitting its audio and video.
@@ -89,6 +90,7 @@ private:
void flush ();
void emit_black ();
void emit_silence (OutputAudioFrame);
+ boost::shared_ptr<Resampler> resampler (boost::shared_ptr<AudioContent>, bool);
void film_changed (Film::Property);
void update_subtitle ();
@@ -111,6 +113,7 @@ private:
libdcp::Size _video_container_size;
boost::shared_ptr<Image> _black_frame;
+ std::map<boost::shared_ptr<AudioContent>, boost::shared_ptr<Resampler> > _resamplers;
struct {
boost::weak_ptr<Piece> piece;