Remove the bools and default parameters from SoundAsset::start_write().
[libdcp.git] / src / sound_asset.h
index e9a2736d4298c9ff186adab4b62989692a25feb2..e51f185498504eb82e4f631c49adec4c055613a8 100644 (file)
@@ -75,7 +75,22 @@ public:
        explicit SoundAsset (boost::filesystem::path file);
        SoundAsset (Fraction edit_rate, int sampling_rate, int channels, LanguageTag language, Standard standard);
 
-       std::shared_ptr<SoundAssetWriter> start_write(boost::filesystem::path file, bool atmos_sync = false, bool include_mca_subdescriptors = true);
+       enum class AtmosSync {
+               ENABLED,
+               DISABLED
+       };
+
+       enum class MCASubDescriptors {
+               ENABLED,
+               DISABLED
+       };
+
+       std::shared_ptr<SoundAssetWriter> start_write(
+               boost::filesystem::path file,
+               AtmosSync atmos_sync,
+               MCASubDescriptors mca_subdescriptors
+               );
+
        std::shared_ptr<SoundAssetReader> start_read () const;
 
        bool equals (