<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/audio_analyser.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>Replace String::compose with fmt.</title>
<updated>2025-07-10T18:50:32Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-07-09T20:53:27Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=62c34b28567a097e8f22576e7d7891bd3dbe0ac0'/>
<id>urn:sha1:62c34b28567a097e8f22576e7d7891bd3dbe0ac0</id>
<content type='text'>
sed -i "/Plural-Forms/n;/%100/n;/scanf/n;s/%[123456789]/{}/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc src/lib/po/*.po src/wx/po/*.po src/tools/po/*.po test/*.cc
sed -i "s/String::compose */fmt::format/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc test/*.cc
</content>
</entry>
<entry>
<title>Fix apparently ineffective processors when analysing audio (#2671).</title>
<updated>2024-02-11T21:55:27Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-02-11T12:10:48Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=527093fa643049d370f4daee8206349981edbf95'/>
<id>urn:sha1:527093fa643049d370f4daee8206349981edbf95</id>
<content type='text'>
A whole film ("DCP side") analysis would behave the same as a
single piece of content analysis if the film only had one piece
of content.

Here we also clarify that audio analysis of the whole film is different
to that for a single piece of content; for the whole film we use processors,
and for single pieces of content we do not.
</content>
</entry>
<entry>
<title>Fix audio analysis attempts with source files that have more channels than the film.</title>
<updated>2023-11-20T06:34:23Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-11-15T16:02:16Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=5b916bf26e3ad1cc49ef8e498bd5e4ff844ed7db'/>
<id>urn:sha1:5b916bf26e3ad1cc49ef8e498bd5e4ff844ed7db</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup: handle Filter objects by value rather than by reference.</title>
<updated>2023-11-20T06:34:23Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-11-07T23:59:42Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=83a948956916abb7b2c13c25141323d326b38708'/>
<id>urn:sha1:83a948956916abb7b2c13c25141323d326b38708</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cleanup: remove an unnecessary shared_ptr.</title>
<updated>2023-11-20T06:34:23Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-11-07T23:24:20Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=bb3a9a12116a4b2a5bc1fef38e73853f576a773a'/>
<id>urn:sha1:bb3a9a12116a4b2a5bc1fef38e73853f576a773a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't feed channels to leqm that we don't have a correction factor for (#2647).</title>
<updated>2023-11-20T06:34:23Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-11-07T23:18:22Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=4ae0193c125cc70176eb1660919d507fbf5378e4'/>
<id>urn:sha1:4ae0193c125cc70176eb1660919d507fbf5378e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add video_{range,frame_type}.{cc,h} and remove some types.h includes.</title>
<updated>2022-12-13T00:11:42Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-12-13T00:04:07Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=94d5ba335224db075a95a76654f732ef54a4eabd'/>
<id>urn:sha1:94d5ba335224db075a95a76654f732ef54a4eabd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clarify one log message and add another.</title>
<updated>2022-11-14T23:47:36Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-11-14T23:43:33Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=5e09964bf1801b76970ed960122249e1d273abea'/>
<id>urn:sha1:5e09964bf1801b76970ed960122249e1d273abea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add failing test for #2364.</title>
<updated>2022-11-14T23:47:36Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-11-14T23:35:20Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=6ac0c8037f45306798993e743b70afdc62ff4a6b'/>
<id>urn:sha1:6ac0c8037f45306798993e743b70afdc62ff4a6b</id>
<content type='text'>
</content>
</entry>
</feed>
