diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-15 22:26:16 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-15 22:26:16 +0000 |
| commit | 4fbd1901fdabc829cfa7e7d4d0c1272bba87033c (patch) | |
| tree | 416701b4a2923cdc16983311239bd311282e8438 /src/lib/audio_decoder.h | |
| parent | f5c40275a2dc444c295a547dfedcd8f9eee2bcb2 (diff) | |
Untested external audio support; AB transcodes still broken.
Diffstat (limited to 'src/lib/audio_decoder.h')
| -rw-r--r-- | src/lib/audio_decoder.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h new file mode 100644 index 000000000..f9948f597 --- /dev/null +++ b/src/lib/audio_decoder.h @@ -0,0 +1,28 @@ +#ifndef DVDOMATIC_AUDIO_DECODER_H +#define DVDOMATIC_AUDIO_DECODER_H + +#include "audio_source.h" +#include "stream.h" +#include "decoder.h" + +class AudioDecoder : public AudioSource, public virtual Decoder +{ +public: + AudioDecoder (boost::shared_ptr<Film>, boost::shared_ptr<const Options>, Job *); + + virtual void set_audio_stream (boost::optional<AudioStream>); + + boost::optional<AudioStream> audio_stream () const { + return _audio_stream; + } + + std::vector<AudioStream> audio_streams () const { + return _audio_streams; + } + +protected: + boost::optional<AudioStream> _audio_stream; + std::vector<AudioStream> _audio_streams; +}; + +#endif |
