Rename DEVELOPMENT -> DEVELOP.md and add some stuff about player stress testing.
[dcpomatic.git] / test / torture_test.cc
index 10d343268c12520084e779627c93dd534128fe8b..764491c0a63ea5d31af368d41411b660b8f56934 100644 (file)
@@ -56,7 +56,7 @@ BOOST_AUTO_TEST_CASE (torture_test1)
        film->set_container (Ratio::from_id ("185"));
        film->set_sequence (false);
 
-       /* Staircase at an offset of 2000 samples, trimmed both start and end, with a gain of 6dB */
+       /* Staircase at an offset of 2000 samples, trimmed both start and end, with a gain of exactly 2 (linear) */
        shared_ptr<Content> staircase = content_factory("test/data/staircase.wav").front ();
        film->examine_and_add_content (staircase);
        BOOST_REQUIRE (!wait_for_jobs());
@@ -65,7 +65,7 @@ BOOST_AUTO_TEST_CASE (torture_test1)
        staircase->set_trim_end (ContentTime::from_frames (35, 48000));
        staircase->audio->set_gain (20 * log10(2));
 
-       /* And again at an offset of 50000 samples, trimmed both start and end, with a gain of 6dB */
+       /* And again at an offset of 50000 samples, trimmed both start and end, with a gain of exactly 2 (linear) */
        staircase = content_factory("test/data/staircase.wav").front ();
        film->examine_and_add_content (staircase);
        BOOST_REQUIRE (!wait_for_jobs());