summaryrefslogtreecommitdiff
path: root/src/sound_asset_writer.cc
AgeCommit message (Collapse)Author
2022-07-15Fix thinko in previous commit.v1.8.24Carl Hetherington
2022-07-14Close assets on destruction even if finalize() is not called.v1.8.23Carl Hetherington
2021-07-15Fix incorrect channel assigment (DoM bug #2062).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-02-06Tweak comment.Carl Hetherington
2021-01-24Tidying.Carl Hetherington
2021-01-22Assorted c++11 cleanups.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.
2020-11-29Add comment.Carl Hetherington
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
2018-03-13Merge EncryptionContext with DecryptionContext and use HMAC when decrypting.Carl Hetherington
2018-03-13Store interop/SMPTE in MXF.Carl Hetherington
2017-12-29Add an assertion and a better error message.Carl Hetherington
2017-03-01Add simple sample-access API to SoundFrame.Carl Hetherington
2017-01-10Fix valgrind warning.Carl Hetherington
2016-09-27Some small cleanups.Carl 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-13Enable encryption of SMPTE subtitles.Carl Hetherington
Separate out EncryptionContext class to use in SMPTESubtitleAsset::write().
2016-07-01asdcp headers moved into subdirectory.Carl Hetherington
2016-06-22Small callgrind-informed optimisation.Carl Hetherington
2016-06-13Add OpenSSL licence exception.Carl Hetherington
2016-06-01Still more licence fixups.Carl Hetherington
2016-05-25No-op; Fix GPL address and mention libdcp by name.Carl Hetherington
2016-02-28Use a HMAC context to write HMAC stuff to encrypted MXFs.Carl Hetherington
2015-12-06Clip audio nicely rather than allowing out-of-range samples to cause ↵Carl Hetherington
discontinuities.
2015-09-16Consider assets outside the DCP as referenced assets (i.e.1.0-vfCarl Hetherington
not to be written to the asset map). Return a value from finalize() to say whether a writer has written anything. Other small related tweaks.
2015-09-15Move _started from PictureAssetWriter into AssetWriterCarl Hetherington
and don't start the SoundAssetWriter until the first thing is written to it.
2015-06-24No-op: whitespace.Carl Hetherington
2015-06-05MXF -> Asset in lots of places.Carl Hetherington