Modify previous commit to move restriction code into the UI.
[dcpomatic.git] / src / lib / content_audio.h
index 6ee702f2c6b47b0fe10cee10e67f4f4e4735025d..194e90e3f35919f4562a6709b97cfad47d16fd6f 100644 (file)
 
 */
 
+#ifndef DCPOMATIC_CONTENT_AUDIO_H
+#define DCPOMATIC_CONTENT_AUDIO_H
+
+/** @file  src/lib/content_audio.h
+ *  @brief ContentAudio class.
+ */
+
 #include "audio_buffers.h"
+#include "types.h"
 
+/** @class ContentAudio
+ *  @brief A block of audio from a piece of content, with a timestamp as a frame within that content.
+ */
 class ContentAudio
 {
 public:
@@ -27,11 +38,13 @@ public:
                , frame (0)
        {}
                
-       ContentAudio (boost::shared_ptr<AudioBuffers> a, AudioFrame f)
+       ContentAudio (boost::shared_ptr<AudioBuffers> a, Frame f)
                : audio (a)
                , frame (f)
        {}
 
        boost::shared_ptr<AudioBuffers> audio;
-       AudioFrame frame;
+       Frame frame;
 };
+
+#endif