Emit no audio from DCPs if none is mapped
[dcpomatic.git] / src / lib / content_audio.h
index 0d16799d715a8fd67fe2e770b304f969654a328b..074d6b42843869b6cb44e5bb207739e7918e95f2 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:
-       ContentAudio ()
-               : audio (new AudioBuffers (0, 0))
-               , frame (0)
-       {}
-
        ContentAudio (std::shared_ptr<const AudioBuffers> a, Frame f)
                : audio (a)
                , frame (f)
@@ -48,4 +47,5 @@ public:
        Frame frame;
 };
 
+
 #endif