Updated de_DE translation from Carsten Kurz.
[dcpomatic.git] / test / audio_analysis_test.cc
index 7cbe283fdc7d1a7d345bd562054505ccfb04e5d7..c2c06734af922e9f64e399201841d692bcaaf9a9 100644 (file)
@@ -59,7 +59,7 @@ BOOST_AUTO_TEST_CASE (audio_analysis_serialisation_test)
 
        float const peak = random_float ();
        DCPTime const peak_time = DCPTime (rand ());
-       a.set_peak (peak, peak_time);
+       a.set_sample_peak (peak, peak_time);
 
        a.write ("build/test/audio_analysis_serialisation_test");
 
@@ -75,10 +75,10 @@ BOOST_AUTO_TEST_CASE (audio_analysis_serialisation_test)
                }
        }
 
-       BOOST_CHECK (b.peak ());
-       BOOST_CHECK_CLOSE (b.peak().get(), peak, 1);
-       BOOST_CHECK (b.peak_time ());
-       BOOST_CHECK_EQUAL (b.peak_time().get(), peak_time);
+       BOOST_CHECK (b.sample_peak ());
+       BOOST_CHECK_CLOSE (b.sample_peak().get(), peak, 1);
+       BOOST_CHECK (b.sample_peak_time ());
+       BOOST_CHECK_EQUAL (b.sample_peak_time().get(), peak_time);
 }
 
 static void