X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ftypes.h;h=f3877d0d554844775b0163be1138df194322c6d8;hb=6bf1fecd1064978bcadd11b8cd56a5b8d9a132a3;hp=9a6a30b861d45344325507186f5c08b2b200ea42;hpb=e80e6a8567dd107f5ea3b708975cb5fd92112a57;p=dcpomatic.git diff --git a/src/lib/types.h b/src/lib/types.h index 9a6a30b86..f3877d0d5 100644 --- a/src/lib/types.h +++ b/src/lib/types.h @@ -20,12 +20,12 @@ #ifndef DCPOMATIC_TYPES_H #define DCPOMATIC_TYPES_H -#include -#include -#include -#include #include "dcpomatic_time.h" #include "position.h" +#include +#include +#include +#include class Content; class VideoContent; @@ -44,9 +44,9 @@ namespace xmlpp { /** The version number of the protocol used to communicate * with servers. Intended to be bumped when incompatibilities - * are introduced. + * are introduced. v2 uses 64+n */ -#define SERVER_LINK_VERSION 2 +#define SERVER_LINK_VERSION (64+0) typedef std::vector > ContentList; typedef std::vector > VideoContentList; @@ -57,22 +57,6 @@ typedef std::vector > FFmpegContentList; typedef int64_t VideoFrame; typedef int64_t AudioFrame; -/* XXX -> DCPAudio */ -struct TimedAudioBuffers -{ - TimedAudioBuffers () - : time (0) - {} - - TimedAudioBuffers (boost::shared_ptr a, DCPTime t) - : audio (a) - , time (t) - {} - - boost::shared_ptr audio; - DCPTime time; -}; - enum VideoFrameType { VIDEO_FRAME_TYPE_2D,