Comments.
authorCarl Hetherington <cth@carlh.net>
Fri, 2 May 2014 12:54:48 +0000 (13:54 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 2 May 2014 12:54:48 +0000 (13:54 +0100)
src/lib/audio_content.h

index b9ca997a75cfd9c02b4b1b2cb3a69b9186e207bd..60d53b3439c0dff089d626f570fac476b998b93e 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2014 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 
 */
 
+/** @file  src/lib/audio_content.h
+ *  @brief AudioContent and AudioContentProperty classes.
+ */
+
 #ifndef DCPOMATIC_AUDIO_CONTENT_H
 #define DCPOMATIC_AUDIO_CONTENT_H
 
@@ -38,6 +42,9 @@ public:
        static int const AUDIO_MAPPING;
 };
 
+/** @class AudioContent
+ *  @brief Parent class for content which may contain audio data.
+ */
 class AudioContent : public virtual Content
 {
 public:
@@ -51,8 +58,11 @@ public:
        void as_xml (xmlpp::Node *) const;
        std::string technical_summary () const;
 
+       /** @return number of audio channels in the content */
        virtual int audio_channels () const = 0;
+       /** @return the length of the audio in the content */
        virtual ContentTime audio_length () const = 0;
+       /** @return the frame rate of the content */
        virtual int content_audio_frame_rate () const = 0;
        virtual int output_audio_frame_rate () const = 0;
        virtual AudioMapping audio_mapping () const = 0;