Hacks.
[dcpomatic.git] / src / lib / null_content.h
index f8829658c5b403aca8e6f807430c09538684dd1a..44bfffa49d6729a5a7f85ce86337b54c840cc1a7 100644 (file)
@@ -43,7 +43,7 @@ public:
 
         int audio_channels () const;
        
-        ContentAudioFrame audio_length () const {
+        AudioContent::Frame audio_length () const {
                return _audio_length;
        }
        
@@ -54,12 +54,14 @@ public:
        AudioMapping audio_mapping () const {
                return AudioMapping ();
        }
+
+       void set_audio_mapping (AudioMapping) {}
        
        Time length () const {
                return _length;
        }
 
 private:
-       ContentAudioFrame _audio_length;
+       AudioContent::Frame _audio_length;
        Time _length;
 };