summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-03-17 13:33:08 +0100
committerCarl Hetherington <cth@carlh.net>2023-03-20 16:41:02 +0100
commit870f02f07ee51ee478006260e2c3b683e591b0c9 (patch)
tree0df3a83d06c3c627b3b16664ff45a574d630d747 /examples
parent90a4d88bf00dc4d038621227f6878c013b289a88 (diff)
Remove the bools and default parameters from SoundAsset::start_write().
They were more confusing than they were worth.
Diffstat (limited to 'examples')
-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 7f387db2..60f5608a 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");
+ auto sound_writer = sound_asset->start_write("DCP/sound.mxf", {}, dcp::SoundAsset::AtmosSync::DISABLED, dcp::SoundAsset::MCASubDescriptors::ENABLED);
/* Write some sine waves */
std::array<float, 48000> left;