Bump version
[dcpomatic.git] / test / audio_decoder_test.cc
index 8af5dfb11102585764fe89bbc8678bca3801c7b0..e63e1a5b0a2246b94dd94fe4bc354f7212ac81d0 100644 (file)
@@ -51,7 +51,7 @@ public:
        }
 
        Frame audio_length () const {
-               return rint (61.2942 * audio_stream()->frame_rate ());
+               return llrint (61.2942 * audio_stream()->frame_rate ());
        }
 };
 
@@ -59,7 +59,7 @@ class TestAudioDecoder : public AudioDecoder
 {
 public:
        TestAudioDecoder (shared_ptr<TestAudioContent> content)
-               : AudioDecoder (content)
+               : AudioDecoder (content, false)
                , _test_audio_content (content)
                , _position (0)
        {}