diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-12-09 21:51:36 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-12-09 21:51:36 +0000 |
| commit | 936ff6927ad24daf0ed20776b19b6faa3df9bf83 (patch) | |
| tree | 556123d229c916251ddc96f9a8b3164b4d815e9b /src/lib/audio_decoder.h | |
| parent | d7013785f7a1d86feb471af826419afa6298e2b8 (diff) | |
| parent | 5757f3ba9d2cf3948bcad2b3f3ddbbf09ad754a5 (diff) | |
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Diffstat (limited to 'src/lib/audio_decoder.h')
| -rw-r--r-- | src/lib/audio_decoder.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h index 4b7594f35..cdb643cee 100644 --- a/src/lib/audio_decoder.h +++ b/src/lib/audio_decoder.h @@ -58,9 +58,12 @@ public: void flush (); void seek (ContentTime t, bool accurate); + boost::optional<ContentTime> position () const; + private: /** An AudioDecoderStream object to manage each stream in _audio_content */ - std::map<AudioStreamPtr, boost::shared_ptr<AudioDecoderStream> > _streams; + typedef std::map<AudioStreamPtr, boost::shared_ptr<AudioDecoderStream> > StreamMap; + StreamMap _streams; }; #endif |
