summaryrefslogtreecommitdiff
path: root/src/sound_asset.cc
AgeCommit message (Collapse)Author
2021-04-29Slightly more details message when sound data differs in ::equals().Carl Hetherington
2021-04-14Fix/hide some warnings.Carl Hetherington
2021-04-09Make sound asset language optional.Carl Hetherington
2021-03-26Write MCA tags based on the specified sound field.Carl Hetherington
I had previously assumed that one should write MCA information into the sound MXF based on what channels actually contain sound rather than silence. However a previous example of a stereo DCP gives a verification error in EasyDCP (see DoM bug #1935) which is solved by adding MCA tags for each channel in the specified sound field (e.g. at least 6 tags for a file which is marked as 5.1) even if the audio is really stereo. This commit removes the "active channels" stuff and makes sure that if we say a file is 5.1 we write at least 6 MCA tags (and similarly for 7.1).
2021-01-24Tidying.Carl Hetherington
2021-01-21Use enum class for the things in types.hCarl Hetherington
2021-01-17Store sound asset language as a string, but set it as aCarl Hetherington
dcp::LanguageTag. This makes it work the same as other language tags, and tolerates bad values while trying not to allow them to be created.
2021-01-08std::shared_ptrCarl Hetherington
2020-11-29Fix terrible SoundAsset::equals() implementation.Carl Hetherington
It would check individual bytes of samples to see if they differed by more than the threshold. Not only is this almost useless, but the default threshold is 256 so with the default settings it would always say that two assets of the same length (and channels, etc.) were the same, even if the sample data was different.
2020-09-22Fix crashes when static linking due to tricky lifetimecrashCarl Hetherington
management of ASDCP::DefaultSMPTEDict().
2020-09-21Support MCA sound channel tags in MXF/CPL.Carl Hetherington
2020-07-11Allow creation of ATMOS sync on channel 14.Carl Hetherington
2020-04-14s/DCPReadError/ReadError/gCarl Hetherington
2018-08-17Use PKL types rather than file extensions.Carl Hetherington
2018-03-13Merge EncryptionContext with DecryptionContext and use HMAC when decrypting.Carl Hetherington
2018-03-13Store interop/SMPTE in MXF.Carl Hetherington
2016-09-27Add Atmos read/write and untested MXF decryption tool.1.0-templatesCarl Hetherington
2016-09-09Simplify previous commit and remove some debugging.Carl Hetherington
2016-09-08Add channel assignment support for SMPTE DCPs.Carl Hetherington
2016-08-17Use an optional<> where there should be one.Carl Hetherington
2016-07-21Trim some unused stream includes / usings.Carl Hetherington
2016-07-01asdcp headers moved into subdirectory.Carl Hetherington
2016-06-30More detailed notes when audio descriptor comparisons fail.Carl Hetherington
2016-06-13Add OpenSSL licence exception.Carl Hetherington
2016-06-01Still more licence fixups.Carl Hetherington
2016-06-01Add Reader classes to permit much more efficient DCP reading.Carl Hetherington
2016-05-25No-op; Fix GPL address and mention libdcp by name.Carl Hetherington
2016-05-15Try to fix comparison of encrypted sound assets.Carl Hetherington
2016-02-28Add SoundAsset::valid_mxf().Carl Hetherington
2015-06-24No-op: whitespace.Carl Hetherington
2015-06-05MXF -> Asset in lots of places.Carl Hetherington
2014-01-17Asset -> MXF in some cases.Carl Hetherington
2014-01-17Remove create-by-files method for sound and picture assets.Carl Hetherington
2014-01-17Asset -> ContentAsset.Carl Hetherington
2014-01-17namespace libdcp -> dcp.Carl Hetherington
2014-01-15Remove unnecessary parameters to fill_writer_info.Carl Hetherington
2014-01-15Use MXFAsset::_interop to decide on whether to write asset XML as Interop or ↵Carl Hetherington
SMPTE.
2014-01-08Throw better file errors (with numbers).Carl Hetherington
2013-12-20Fix build on OS X.Carl Hetherington
2013-10-28Another better error message.Carl Hetherington
2013-10-19Some more boost::filesystem::path.Carl Hetherington
2013-10-04boost::filesystem.Carl Hetherington
2013-10-04boost::filesystem.Carl Hetherington
2013-09-25Switch away from the many-constructor-arguments approach to a hopefully ↵Carl Hetherington
simpler API.
2013-09-25Add round-trip KDM test. Fix various bugs in KDM generation. Some string ↵Carl Hetherington
-> path.
2013-09-20More encryption fixes.Carl Hetherington
2013-09-19Various encryption-related stuff.Carl Hetherington
2013-09-19Allow SoundAsset to be encrypted.Carl Hetherington
2013-08-25Untested interop DCP/KDM support.Carl Hetherington
2013-08-07Missing audio asset decryption.Carl Hetherington