From ba9fb85168d004d7643dc02f911fd173a136758b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 25 Sep 2020 22:51:18 +0200 Subject: Add NamedChannel and use it to hide the never-used channels when mapping into a DCP. --- test/isdcf_name_test.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test') diff --git a/test/isdcf_name_test.cc b/test/isdcf_name_test.cc index 487f80ea2..e298114fc 100644 --- a/test/isdcf_name_test.cc +++ b/test/isdcf_name_test.cc @@ -190,8 +190,6 @@ BOOST_AUTO_TEST_CASE (isdcf_name_test) BOOST_CHECK_EQUAL (film->isdcf_name(false), "LikeShouting_XSN-2_F-133_DE-fr_US-R_51-HI-VI_4K_DI_20140704_PP_SMPTE_OV"); film->set_audio_channels(10); - mapping.set (0, dcp::LC, 1.0); - mapping.set (0, dcp::RC, 1.0); mapping.set (0, dcp::HI, 0.0); mapping.set (0, dcp::VI, 0.0); sound->audio->set_mapping (mapping); @@ -204,8 +202,6 @@ BOOST_AUTO_TEST_CASE (isdcf_name_test) BOOST_CHECK_EQUAL (film->isdcf_name(false), "LikeShouting_XSN-2_F-133_DE-fr_US-R_71-HI-VI_4K_DI_20140704_PP_SMPTE_OV"); film->set_audio_channels(12); - mapping.set (0, dcp::LC, 0.0); - mapping.set (0, dcp::RC, 0.0); mapping.set (0, dcp::BSL, 1.0); mapping.set (0, dcp::BSR, 1.0); mapping.set (0, dcp::HI, 0.0); -- cgit v1.2.3