<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/test/audio_analysis_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>Change Film::examine_and_add_content to take a vector of content.</title>
<updated>2025-07-15T16:03:57Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2025-07-15T01:36:59Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=21415bdb69a99c4fc36cf4b5e5160a171bb1cad4'/>
<id>urn:sha1:21415bdb69a99c4fc36cf4b5e5160a171bb1cad4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add ebur128 test.</title>
<updated>2024-07-03T21:47:11Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-07-03T21:47:11Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=5696315078be7a3f61763690ddc201c558ddcd5a'/>
<id>urn:sha1:5696315078be7a3f61763690ddc201c558ddcd5a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rename new_test_film2 -&gt; new_test_film.</title>
<updated>2024-05-22T08:33:45Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-05-20T14:55:57Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c95ba3eb99c5e4d6dca90cee7e5bb9077b6ed02c'/>
<id>urn:sha1:c95ba3eb99c5e4d6dca90cee7e5bb9077b6ed02c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace all new_test_film with new_test_film2.</title>
<updated>2024-05-21T21:52:46Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2024-05-20T14:54:37Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=e3dba6242aed7415eddbbfb1e5d56ce6680603c1'/>
<id>urn:sha1:e3dba6242aed7415eddbbfb1e5d56ce6680603c1</id>
<content type='text'>
</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>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>Cleanup: use a lambda.</title>
<updated>2023-09-30T20:58:45Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-09-30T20:58:45Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=6ef4d958bb329ae190fd0b99114cf29bbd842393'/>
<id>urn:sha1:6ef4d958bb329ae190fd0b99114cf29bbd842393</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove now-unnecessary assertion.</title>
<updated>2023-08-15T13:02:54Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2023-08-15T13:02:29Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=f6c6232941671095b0a857a5a5c5392f52d6c3aa'/>
<id>urn:sha1:f6c6232941671095b0a857a5a5c5392f52d6c3aa</id>
<content type='text'>
Since e29ce33a36c2e20444d57196defc86d5072bce81 channels is the
number of channels in the frame, and also the number in data,
so we don't need to check this any more.
</content>
</entry>
</feed>
