X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fcontent_audio.h;h=c343865e39fa1d586f2df2af03ee84ee5e6d6703;hp=535c0b4913c7c0a2c157a94c40aeb69101620d6b;hb=aeb835a18c8df347e0ed68fb24631b320abeb611;hpb=1f82930e73679d6aec5223caa255f564339a1a2a diff --git a/src/lib/content_audio.h b/src/lib/content_audio.h index 535c0b491..c343865e3 100644 --- a/src/lib/content_audio.h +++ b/src/lib/content_audio.h @@ -17,11 +17,15 @@ */ +#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. @@ -33,12 +37,14 @@ public: : audio (new AudioBuffers (0, 0)) , frame (0) {} - - ContentAudio (boost::shared_ptr a, AudioFrame f) + + ContentAudio (boost::shared_ptr a, Frame f) : audio (a) , frame (f) {} boost::shared_ptr audio; - AudioFrame frame; + Frame frame; }; + +#endif