summaryrefslogtreecommitdiff
path: root/test/upmixer_a_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-20 16:54:37 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-21 23:52:46 +0200
commite3dba6242aed7415eddbbfb1e5d56ce6680603c1 (patch)
tree8628ae20b900cd03638648ef34711a56bf7ef3a6 /test/upmixer_a_test.cc
parent19b6cd41712d38cb5b1c97659c8a1cc86e784812 (diff)
Replace all new_test_film with new_test_film2.
Diffstat (limited to 'test/upmixer_a_test.cc')
-rw-r--r--test/upmixer_a_test.cc10
1 files changed, 2 insertions, 8 deletions
diff --git a/test/upmixer_a_test.cc b/test/upmixer_a_test.cc
index af6c8b9e2..6c2c52ea8 100644
--- a/test/upmixer_a_test.cc
+++ b/test/upmixer_a_test.cc
@@ -68,15 +68,9 @@ write (shared_ptr<AudioBuffers> b, DCPTime)
BOOST_AUTO_TEST_CASE (upmixer_a_test)
{
- auto film = new_test_film ("upmixer_a_test");
- film->set_container (Ratio::from_id("185"));
- film->set_dcp_content_type (DCPContentType::from_isdcf_name("TLR"));
- film->set_name ("frobozz");
- film->set_audio_processor (AudioProcessor::from_id("stereo-5.1-upmix-a"));
auto content = make_shared<FFmpegContent>("test/data/white.wav");
- film->examine_and_add_content (content);
-
- BOOST_REQUIRE (!wait_for_jobs());
+ auto film = new_test_film2("upmixer_a_test", { content });
+ film->set_audio_processor (AudioProcessor::from_id("stereo-5.1-upmix-a"));
SF_INFO info;
info.samplerate = 48000;