Allow specification of channels that need a MCASubDescriptor.
[libdcp.git] / src / sound_asset.cc
index 56d13951ee5781d5b878459bc59347df0ce41d2c..7c94b54960416cac9c08f1ee220f9cfb2665cd22 100644 (file)
@@ -223,6 +223,7 @@ SoundAsset::equals (shared_ptr<const Asset> other, EqualityOptions opt, NoteHand
 shared_ptr<SoundAssetWriter>
 SoundAsset::start_write(
        boost::filesystem::path file,
+       vector<dcp::Channel> extra_active_channels,
        AtmosSync atmos_sync,
        MCASubDescriptors include_mca_subdescriptors
        )
@@ -232,7 +233,7 @@ SoundAsset::start_write(
        }
 
        return shared_ptr<SoundAssetWriter>(
-               new SoundAssetWriter(this, file, atmos_sync == AtmosSync::ENABLED, include_mca_subdescriptors == MCASubDescriptors::ENABLED)
+               new SoundAssetWriter(this, file, extra_active_channels, atmos_sync == AtmosSync::ENABLED, include_mca_subdescriptors == MCASubDescriptors::ENABLED)
                );
 }