X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fupmixer_a_test.cc;h=bdca521a22ccaedd40f9ebf9625ace55d26d6739;hb=c008066160d85b9ec9e5485375d7baaa5d27bda2;hp=67e909ed26a9e2d7028232a1db5512301f1d914b;hpb=40b654453c2ce0b266f43c36f1b9a5d1705f983c;p=dcpomatic.git diff --git a/test/upmixer_a_test.cc b/test/upmixer_a_test.cc index 67e909ed2..bdca521a2 100644 --- a/test/upmixer_a_test.cc +++ b/test/upmixer_a_test.cc @@ -38,7 +38,7 @@ BOOST_AUTO_TEST_CASE (upmixer_a_test) film->set_name ("frobozz"); shared_ptr content (new SndfileContent (film, "test/data/white.wav")); content->set_audio_processor (AudioProcessor::from_id ("stereo-5.1-upmix-a")); - film->examine_and_add_content (content); + film->examine_and_add_content (content, true); wait_for_jobs (); @@ -71,10 +71,10 @@ BOOST_AUTO_TEST_CASE (upmixer_a_test) sf_close (Ls); sf_close (Rs); - check_file ("test/data/upmixer_a_test/L.wav", "build/test/upmixer_a_test/L.wav"); - check_file ("test/data/upmixer_a_test/R.wav", "build/test/upmixer_a_test/R.wav"); - check_file ("test/data/upmixer_a_test/C.wav", "build/test/upmixer_a_test/C.wav"); - check_file ("test/data/upmixer_a_test/Lfe.wav", "build/test/upmixer_a_test/Lfe.wav"); - check_file ("test/data/upmixer_a_test/Ls.wav", "build/test/upmixer_a_test/Ls.wav"); - check_file ("test/data/upmixer_a_test/Rs.wav", "build/test/upmixer_a_test/Rs.wav"); + check_audio_file ("test/data/upmixer_a_test/L.wav", "build/test/upmixer_a_test/L.wav"); + check_audio_file ("test/data/upmixer_a_test/R.wav", "build/test/upmixer_a_test/R.wav"); + check_audio_file ("test/data/upmixer_a_test/C.wav", "build/test/upmixer_a_test/C.wav"); + check_audio_file ("test/data/upmixer_a_test/Lfe.wav", "build/test/upmixer_a_test/Lfe.wav"); + check_audio_file ("test/data/upmixer_a_test/Ls.wav", "build/test/upmixer_a_test/Ls.wav"); + check_audio_file ("test/data/upmixer_a_test/Rs.wav", "build/test/upmixer_a_test/Rs.wav"); }