FFmpegContent does not need audio_length().
[dcpomatic.git] / src / lib / single_stream_audio_content.h
index fcfaf14ca1b211edf805d279b88744fd99b97488..944d887b0ba4ae9ec293efe9e6b1385697e9372c 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
@@ -44,8 +44,8 @@ public:
                boost::mutex::scoped_lock lm (_mutex);
                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;
 };