diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-11-19 20:40:36 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-11-19 20:40:36 +0000 |
| commit | f113b2aaca7a65f7b37e12a7d9f3f99e2d834e81 (patch) | |
| tree | 6ea2ed1d480304a4aaf512e380cd013bbf42e86c /src/lib/audio_decoder.h | |
| parent | fab7fa5a9ef1d069c7ca32e3669d0e37e896250c (diff) | |
Move position variables into the video/audio/subtitle decoder classes.
Diffstat (limited to 'src/lib/audio_decoder.h')
| -rw-r--r-- | src/lib/audio_decoder.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h index 2415bd6ac..4b7594f35 100644 --- a/src/lib/audio_decoder.h +++ b/src/lib/audio_decoder.h @@ -28,6 +28,7 @@ #include "decoder.h" #include "content_audio.h" #include "audio_stream.h" +#include "decoder_part.h" #include <boost/enable_shared_from_this.hpp> class AudioBuffers; @@ -38,7 +39,7 @@ class Log; /** @class AudioDecoder. * @brief Parent class for audio decoders. */ -class AudioDecoder : public boost::enable_shared_from_this<AudioDecoder> +class AudioDecoder : public boost::enable_shared_from_this<AudioDecoder>, public DecoderPart { public: AudioDecoder (Decoder* parent, boost::shared_ptr<const AudioContent>, boost::shared_ptr<Log> log); @@ -51,7 +52,6 @@ public: */ ContentAudio get (AudioStreamPtr stream, Frame time, Frame length, bool accurate); - void set_ignore (); void set_fast (); void give (AudioStreamPtr stream, boost::shared_ptr<const AudioBuffers>, ContentTime); @@ -61,7 +61,6 @@ public: private: /** An AudioDecoderStream object to manage each stream in _audio_content */ std::map<AudioStreamPtr, boost::shared_ptr<AudioDecoderStream> > _streams; - bool _ignore; }; #endif |
