diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-11-18 17:07:07 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-11-18 20:52:20 +0000 |
| commit | 419afb743ad2aaf1ea301356ac09f9a26ee15567 (patch) | |
| tree | a90a3776b0919871750c173c2bb753321ddf7282 /test | |
| parent | e07926b8b0d3d93c2b670aea4b49230170a3532b (diff) | |
Basic (untested) ebur128 (#368).
Diffstat (limited to 'test')
| -rw-r--r-- | test/audio_analysis_test.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/audio_analysis_test.cc b/test/audio_analysis_test.cc index 7cbe283fd..c2c06734a 100644 --- a/test/audio_analysis_test.cc +++ b/test/audio_analysis_test.cc @@ -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 |
