diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-26 01:21:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-26 17:04:31 +0100 |
| commit | 09a9ac376db005a40a351736bcff4077f098825d (patch) | |
| tree | 64ea69741155d15d114ad96daf0f90e24b3abe28 /src/lib/audio_content.h | |
| parent | 46cd0fe7b5b514f0d9456b25f670679cc584a218 (diff) | |
Another try at sorting out the thorny question of timing.
Diffstat (limited to 'src/lib/audio_content.h')
| -rw-r--r-- | src/lib/audio_content.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/audio_content.h b/src/lib/audio_content.h index 73a00ca7d..9bf53e0ab 100644 --- a/src/lib/audio_content.h +++ b/src/lib/audio_content.h @@ -41,6 +41,8 @@ public: class AudioContent : public virtual Content { public: + typedef int64_t Frame; + AudioContent (boost::shared_ptr<const Film>, Time); AudioContent (boost::shared_ptr<const Film>, boost::filesystem::path); AudioContent (boost::shared_ptr<const Film>, boost::shared_ptr<const cxml::Node>); @@ -49,7 +51,7 @@ public: void as_xml (xmlpp::Node *) const; virtual int audio_channels () const = 0; - virtual ContentAudioFrame audio_length () const = 0; + virtual AudioContent::Frame audio_length () const = 0; virtual int content_audio_frame_rate () const = 0; virtual int output_audio_frame_rate () const = 0; virtual AudioMapping audio_mapping () const = 0; |
