diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-19 00:07:29 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-19 00:07:29 +0000 |
| commit | 259ed1f1602d866640a3035341a834e937e45e79 (patch) | |
| tree | 12513a92e881f1f76bb19dec535137ebc66ef7b9 /src/lib/stream.h | |
| parent | 52b840565b8be0f4933b78948bddeccfc4ba2135 (diff) | |
Remove unused Processor::process_begin; some docs.
Diffstat (limited to 'src/lib/stream.h')
| -rw-r--r-- | src/lib/stream.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/lib/stream.h b/src/lib/stream.h index 5dd91f5f4..c2a19e5ab 100644 --- a/src/lib/stream.h +++ b/src/lib/stream.h @@ -17,6 +17,14 @@ */ +/** @file src/lib/stream.h + * @brief Representations of audio and subtitle streams. + * + * Some content may have multiple `streams' of audio and/or subtitles; perhaps + * for multiple languages, or for stereo / surround mixes. These classes represent + * those streams, and know about their details. + */ + #ifndef DVDOMATIC_STREAM_H #define DVDOMATIC_STREAM_H @@ -27,12 +35,18 @@ extern "C" { #include <libavutil/audioconvert.h> } +/** @class Stream + * @brief Parent class for streams. + */ class Stream { public: virtual std::string to_string () const = 0; }; +/** @class AudioStream + * @brief A stream of audio data. + */ struct AudioStream : public Stream { public: @@ -68,6 +82,9 @@ protected: int64_t _channel_layout; }; +/** @class SubtitleStream + * @brief A stream of subtitle data. + */ class SubtitleStream : public Stream { public: |
