diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-06-28 10:09:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-06-29 11:26:13 +0100 |
| commit | baf84885a777378b9ff5c05ef24d6361560822a6 (patch) | |
| tree | 18b953a0e1a6b05609f98193a766a679de434551 /src/lib/player.h | |
| parent | 4fbe44913582d6cc48a7d61145f3170fb0eec595 (diff) | |
Fixes for silence in projects, various cleanups.
Diffstat (limited to 'src/lib/player.h')
| -rw-r--r-- | src/lib/player.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/player.h b/src/lib/player.h index b4d00223b..0ceff016c 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -32,6 +32,7 @@ #include "content_subtitle.h" #include "audio_stream.h" #include "audio_merger.h" +#include "empty.h" #include <boost/shared_ptr.hpp> #include <boost/enable_shared_from_this.hpp> #include <list> @@ -108,7 +109,6 @@ private: void subtitle_stop (boost::weak_ptr<Piece>, ContentTime); DCPTime one_video_frame () const; void fill_audio (DCPTimePeriod period); - void audio_transform (boost::shared_ptr<AudioContent> content, AudioStreamPtr stream, ContentAudio content_audio, DCPTime time); std::pair<boost::shared_ptr<AudioBuffers>, DCPTime> discard_audio ( boost::shared_ptr<const AudioBuffers> audio, DCPTime time, DCPTime discard_to ) const; @@ -165,6 +165,9 @@ private: }; std::map<AudioStreamPtr, StreamState> _stream_states; + Empty _black; + Empty _silent; + ActiveSubtitles _active_subtitles; boost::shared_ptr<AudioProcessor> _audio_processor; |
