summaryrefslogtreecommitdiff
path: root/examples/make_dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-05-17 23:07:03 +0200
committerCarl Hetherington <cth@carlh.net>2024-05-17 23:07:05 +0200
commit4347717803d202a41792faf42e846fd73a0586bf (patch)
treeabc717a630e4768f3b05376274b8d47aaa059c57 /examples/make_dcp.cc
parent47b82590f5d1538b599e323daa5e0c792e4d4695 (diff)
Introduce SMPTEFlavour and use it to decide which optional things to write.
This also adds a possibly-correct idea of what "SMPTE A" is supposed to mean.
Diffstat (limited to 'examples/make_dcp.cc')
-rw-r--r--examples/make_dcp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/make_dcp.cc b/examples/make_dcp.cc
index 6e0961a5..af977cf0 100644
--- a/examples/make_dcp.cc
+++ b/examples/make_dcp.cc
@@ -74,7 +74,7 @@ main ()
When creating the object we specify the sampling rate (48kHz) and the number of channels (2).
*/
auto sound_asset = std::make_shared<dcp::SoundAsset>(dcp::Fraction(24, 1), 48000, 2, dcp::LanguageTag("en-GB"), dcp::Standard::SMPTE);
- auto sound_writer = sound_asset->start_write("DCP/sound.mxf", {}, dcp::SoundAsset::AtmosSync::DISABLED, dcp::SoundAsset::MCASubDescriptors::ENABLED);
+ auto sound_writer = sound_asset->start_write("DCP/sound.mxf", {}, dcp::SoundAsset::AtmosSync::DISABLED, dcp::SMPTEFlavour::BV21);
/* Write some sine waves */
std::array<float, 48000> left;