Untested use of Frame for video/audio content lengths.
[dcpomatic.git] / src / lib / single_stream_audio_content.h
index fcfaf14ca1b211edf805d279b88744fd99b97488..d1d512d6765b33665ca2fe22db0f0fd1e1f40663 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2014-2015 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -45,7 +45,7 @@ public:
                return _audio_channels;
        }
        
-       ContentTime audio_length () const {
+       Frame audio_length () const {
                boost::mutex::scoped_lock lm (_mutex);
                return _audio_length;
        }
@@ -66,7 +66,7 @@ public:
 
 protected:
        int _audio_channels;
-       ContentTime _audio_length;
+       Frame _audio_length;
        int _audio_frame_rate;
        AudioMapping _audio_mapping;
 };