<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/test/audio_merger_test.cc, branch arbitrary-hz</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=arbitrary-hz</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=arbitrary-hz'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2025-09-02T20:40:13Z</updated>
<entry>
<title>Untested conversion to num/den DCPTime.</title>
<updated>2025-09-02T20:40:13Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-12-21T23:09:57Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=33b0928b20618da5bc295711bfdf3d638863afa5'/>
<id>urn:sha1:33b0928b20618da5bc295711bfdf3d638863afa5</id>
<content type='text'>
Summary of required changes:

Replace ::from_frames with a constructor that takes num/den.
Provide and use member to_debug_string() instead of to_string().
Provide and use member to_serializable_string() and string constructor instead of fmt::to_string on .get() and number constructor.
Provide and use content_time() member instead of ContentTime constructor from DCPTime.
Use frames_round(96000) instead of get() when comparing times to see if they are "close enough".
Provide and use DCPTime(x, FrameRateChange) constructor when converting from ContentTime.
Use .seconds() when calculating proportions or sometimes when dividing by HZ.
Provide and use operator bool().
Pass explicit 96000 denominator in a lot of places.
Add member max() and use it instead of static max()
Change BOOST_CHECK_EQUAL to BOOST_CHECK
Provide operator/ and use it instead of .get() / 2.
</content>
</entry>
<entry>
<title>White space: audio_merger_test.cc</title>
<updated>2025-05-09T23:16:51Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-05-09T23:16:51Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=87410c7f218a6d585bad7c6f7810e29a2d64fc34'/>
<id>urn:sha1:87410c7f218a6d585bad7c6f7810e29a2d64fc34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add check before dereferencing pointer.</title>
<updated>2023-10-28T21:16:41Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-10-28T21:16:41Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=d69a032b00b90d72ac9a7c0bd5f591c91aa40a20'/>
<id>urn:sha1:d69a032b00b90d72ac9a7c0bd5f591c91aa40a20</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use dcp::File in DCP-o-matic (#2231).</title>
<updated>2022-05-05T21:38:41Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-04-16T20:20:54Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=8a8c977c12fc65f1f50ea05099387e0fc8840e7d'/>
<id>urn:sha1:8a8c977c12fc65f1f50ea05099387e0fc8840e7d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>C++11 tidying.</title>
<updated>2021-04-30T23:31:35Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-30T23:31:35Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=8963f0007af1a312017b9627c18b82ec2a577591'/>
<id>urn:sha1:8963f0007af1a312017b9627c18b82ec2a577591</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Assorted C++11/formatting cleanups.</title>
<updated>2021-04-08T19:32:44Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-04-08T19:32:44Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=3339d3bce70afe9ae2ca10e9fcfc4b54b748fbf4'/>
<id>urn:sha1:3339d3bce70afe9ae2ca10e9fcfc4b54b748fbf4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>std::shared_ptr</title>
<updated>2021-01-07T21:48:29Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-01-04T20:16:53Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=dd9be86db6cde0afa5da0d1d1ac43b42e05dca26'/>
<id>urn:sha1:dd9be86db6cde0afa5da0d1d1ac43b42e05dca26</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix lots of macOS warnings by using a different boost/bind include.</title>
<updated>2020-12-10T23:32:22Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-12-10T18:27:53Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=bd7f4bbde17d2087ba4c4bddf6439b3df869b1db'/>
<id>urn:sha1:bd7f4bbde17d2087ba4c4bddf6439b3df869b1db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix incorrect sign on boost test constants.</title>
<updated>2020-10-12T15:33:27Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-09-29T18:55:16Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=b29eb5107c5e77fe01e43010e1582e733f6ceea1'/>
<id>urn:sha1:b29eb5107c5e77fe01e43010e1582e733f6ceea1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix crash with sub-sample push parts in AudioMerger.</title>
<updated>2020-01-28T20:58:47Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-01-27T23:19:52Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=95f4d8740de74cdecf6658ab2607c0af9732904e'/>
<id>urn:sha1:95f4d8740de74cdecf6658ab2607c0af9732904e</id>
<content type='text'>
Forward-ported from b86b15391074a68149f8c4a51958c7873d74def0 in master.
</content>
</entry>
</feed>
