Stop player analysing audio even if it is configured automatically to happen.
[dcpomatic.git] / src / lib / empty.h
index 3c676deeb6b2f4573537c2a45aea56fd6c203096..d8b00047fbe2e3520ed2a91349e4cb130bc173db 100644 (file)
 #include <list>
 
 struct empty_test1;
+struct empty_test2;
+struct player_subframe_test;
 
 class Empty
 {
 public:
        Empty () {}
-       Empty (boost::shared_ptr<const Playlist> playlist, boost::function<boost::shared_ptr<ContentPart> (Content *)> part);
+       Empty (ContentList content, DCPTime length, boost::function<boost::shared_ptr<ContentPart> (Content *)> part);
 
        DCPTime position () const {
                return _position;
@@ -43,6 +45,8 @@ public:
 
 private:
        friend struct ::empty_test1;
+       friend struct ::empty_test2;
+       friend struct ::player_subframe_test;
 
        std::list<DCPTimePeriod> _periods;
        DCPTime _position;