From 870f02f07ee51ee478006260e2c3b683e591b0c9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 17 Mar 2023 13:33:08 +0100 Subject: Remove the bools and default parameters from SoundAsset::start_write(). They were more confusing than they were worth. --- examples/make_dcp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/make_dcp.cc') 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::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 left; -- cgit v1.2.3