diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-20 16:21:55 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-20 16:21:55 +0100 |
| commit | 0c66eaeac227d6aeb63a7a36e202ef87081dc222 (patch) | |
| tree | fe59970e8ca5d6bfc7859fa6f901b1f1ed04eb33 /src/lib/audio_content.h | |
| parent | 56aa7eef1572e48c96ff198ee52a5a5fe17a6bf0 (diff) | |
Some basics of AudioMapping.
Diffstat (limited to 'src/lib/audio_content.h')
| -rw-r--r-- | src/lib/audio_content.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/audio_content.h b/src/lib/audio_content.h index 87858488c..51f05efb0 100644 --- a/src/lib/audio_content.h +++ b/src/lib/audio_content.h @@ -1,3 +1,5 @@ +/* -*- c-basic-offset: 8; default-tab-width: 8; -*- */ + /* Copyright (C) 2013 Carl Hetherington <cth@carlh.net> @@ -21,7 +23,7 @@ #define DCPOMATIC_AUDIO_CONTENT_H #include "content.h" -#include "util.h" +#include "audio_mapping.h" namespace cxml { class Node; @@ -42,10 +44,13 @@ public: AudioContent (boost::shared_ptr<const cxml::Node>); AudioContent (AudioContent const &); + void as_xml (xmlpp::Node *) const; + virtual int audio_channels () const = 0; virtual ContentAudioFrame audio_length () const = 0; virtual int content_audio_frame_rate () const = 0; virtual int output_audio_frame_rate (boost::shared_ptr<const Film>) const = 0; + virtual AudioMapping audio_mapping () const = 0; }; #endif |
