Move atmos_pcm.mxf in the test repo.
authorCarl Hetherington <cth@carlh.net>
Sun, 12 Jul 2020 13:17:17 +0000 (15:17 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 12 Jul 2020 13:17:17 +0000 (15:17 +0200)
test/sync_test.cc

index ff3adf1fe79ee78932e858b135293c107af926b5..9fe6a30478d7ad80b348d03553fc069ab9c6b5da 100644 (file)
@@ -81,7 +81,7 @@ read_sync_sample (uint8_t const* data, int sample_index, int channels)
 
 BOOST_AUTO_TEST_CASE (sync_test1)
 {
-       dcp::SoundAsset asset (private_test / "atmos_pcm.mxf");
+       dcp::SoundAsset asset (private_test / "data" / "atmos_pcm.mxf");
        shared_ptr<dcp::SoundAssetReader> reader = asset.start_read ();
        shared_ptr<const dcp::SoundFrame> frame = reader->get_frame (0);
 
@@ -143,7 +143,7 @@ BOOST_AUTO_TEST_CASE (sync_test2)
        writer->finalize ();
 
        /* Check that channel 14 on the first frame matches channel 14 on the reference */
-       dcp::SoundAsset ref (private_test / "atmos_pcm.mxf");
+       dcp::SoundAsset ref (private_test / "data" / "atmos_pcm.mxf");
        dcp::SoundAsset check ("build/test/foo.mxf");
 
        shared_ptr<dcp::SoundAssetReader> ref_read = ref.start_read ();