Another try at sorting out the thorny question of timing.
[dcpomatic.git] / src / lib / types.h
index 8f2fe2c7165c6a3be02df80441b94877f99a6f84..33f8239d88cbee89ace3e07b51acd94d67b27fd9 100644 (file)
@@ -27,8 +27,6 @@
 
 class Content;
 
-typedef int64_t ContentAudioFrame;
-typedef int     ContentVideoFrame;
 typedef int64_t Time;
 #define TIME_MAX INT64_MAX
 #define TIME_HZ  ((Time) 96000)
@@ -76,6 +74,8 @@ struct Position
        int y;
 };
 
+namespace dcpomatic {
+
 /** @struct Rect
  *  @brief A rectangle.
  */
@@ -113,4 +113,6 @@ struct Rect
        bool contains (Position) const;
 };
 
+}
+
 #endif