<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/lib/audio_decoder.h, branch main</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=main</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2022-11-15T21:42:43Z</updated>
<entry>
<title>Improve flushing behaviour when there is a lot of space to fill (#2364).</title>
<updated>2022-11-15T21:42:43Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-11-14T23:44:37Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=d42bc731c125170efb1bb7b8c9f990a3e9fa5b57'/>
<id>urn:sha1:d42bc731c125170efb1bb7b8c9f990a3e9fa5b57</id>
<content type='text'>
Previously a call to flush() could result in a lot of audio being
emitted from the decoder (if there is a big gap between the end
of the audio and the video).  This would end up being emitted in
one chunk from the player, crashing the audio analyser with an OOM
in some cases.
</content>
</entry>
<entry>
<title>Add some missing override labels.</title>
<updated>2022-04-09T11:58:27Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-04-09T11:58:27Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=b915348a8288d68e2ff114fb3dd89ad22e699969'/>
<id>urn:sha1:b915348a8288d68e2ff114fb3dd89ad22e699969</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix incorrectly-timed emission of silence padding causing buffer fill (#2217).</title>
<updated>2022-03-15T08:20:17Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2022-03-14T19:29:44Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=0c846af54055b9915c6c68617cd28176d5f84351'/>
<id>urn:sha1:0c846af54055b9915c6c68617cd28176d5f84351</id>
<content type='text'>
On initialisation or after seek we insert silence corresponding to
a positive delay in an audio stream.  Previously this inserted silence
was done at time 0, so that after a seek to time T the silent frames
would come out of the audio merger at time 0 and then the player would
fill the space up to time T with silence.  If T was far enough along
this would fill the audio buffers without there being any video.
</content>
</entry>
<entry>
<title>Assorted tidying.</title>
<updated>2021-09-19T23:44:30Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2021-09-19T23:44:30Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=2e2f11b29651cffe37c64275dbd45c7563310020'/>
<id>urn:sha1:2e2f11b29651cffe37c64275dbd45c7563310020</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>Obey audio timestamps if they don't deviate by more than some threshold.</title>
<updated>2020-12-02T23:23:38Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-11-28T23:51:38Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=8798bfab1539c3ac6031bb325e1b181c58b13fc5'/>
<id>urn:sha1:8798bfab1539c3ac6031bb325e1b181c58b13fc5</id>
<content type='text'>
Previously we would ignore audio timestamps because they are not
contiguous in a sample-accurate way.

However with bugs like #1833 we do need to obey large discontinuities
in audio timestamps, otherwise we get large sync errors.

Here we change timestamp handling to ignore small discontinuities
in timestamps but not larger ones.
</content>
</entry>
<entry>
<title>Remove out-of-date comment.</title>
<updated>2020-06-21T19:25:17Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-06-21T19:25:17Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=9e5d71ceede8bcafc1e401814b38e2fc8b17e9c7'/>
<id>urn:sha1:9e5d71ceede8bcafc1e401814b38e2fc8b17e9c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make DecoderPart::_position an optional.</title>
<updated>2019-11-11T13:15:44Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2019-11-10T21:51:55Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=0e8a1ab7c41756115f44229053e1e7024530fb32'/>
<id>urn:sha1:0e8a1ab7c41756115f44229053e1e7024530fb32</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Put Time types in dcpomatic namespace.</title>
<updated>2019-05-10T22:43:55Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2019-05-08T22:41:42Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=c4403784febdbdd42e9c32e67fadb147f11fe566'/>
<id>urn:sha1:c4403784febdbdd42e9c32e67fadb147f11fe566</id>
<content type='text'>
</content>
</entry>
</feed>
