summaryrefslogtreecommitdiff
path: root/test/audio_content_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-11-22 02:16:16 +0100
committerCarl Hetherington <cth@carlh.net>2022-11-26 00:09:27 +0100
commit5799460dc38bafa1da1ce9f7bf43621d3fadf442 (patch)
treea4666f4bf8f99f29716e8d68113320426b0a1c95 /test/audio_content_test.cc
parentaaf6845e130ac208cee524536b67c54bd1ce8ed9 (diff)
Noisy change to get film into AudioContent::modify_trim_start().
Diffstat (limited to 'test/audio_content_test.cc')
-rw-r--r--test/audio_content_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/audio_content_test.cc b/test/audio_content_test.cc
index 6114c6b2c..f2c095fab 100644
--- a/test/audio_content_test.cc
+++ b/test/audio_content_test.cc
@@ -166,7 +166,7 @@ BOOST_AUTO_TEST_CASE (audio_content_fade_in_with_trim)
content->audio->set_fade_in(dcpomatic::ContentTime::from_frames(2000, 48000));
content->audio->set_fade_out(dcpomatic::ContentTime::from_frames(1000, 48000));
- content->set_trim_start(dcpomatic::ContentTime::from_frames(5200, 48000));
+ content->set_trim_start(film, dcpomatic::ContentTime::from_frames(5200, 48000));
/* In the trim */
auto const f1 = content->audio->fade(stream, 0, 2000, 48000);
@@ -194,7 +194,7 @@ BOOST_AUTO_TEST_CASE (audio_content_fade_out_with_trim)
content->audio->set_fade_in(dcpomatic::ContentTime::from_frames(2000, 48000));
content->audio->set_fade_out(dcpomatic::ContentTime::from_frames(1000, 48000));
- content->set_trim_start(dcpomatic::ContentTime::from_frames(5200, 48000));
+ content->set_trim_start(film, dcpomatic::ContentTime::from_frames(5200, 48000));
content->set_trim_end(dcpomatic::ContentTime::from_frames(9000, 48000));
/* In the trim */