Try to fix application of namespace to MainStereoscopicPicture nodes.
[libdcp.git] / src / sound_asset.h
index a587b55101fbd7ec030df5999cc5a56e8679941c..b7542c735ee8104e6a4e78da1439785f30a086af 100644 (file)
@@ -43,7 +43,7 @@ public:
 private:
        friend class SoundAsset;
 
-       SoundAssetWriter (SoundAsset *, MXFMetadata const &);
+       SoundAssetWriter (SoundAsset *, bool interop, MXFMetadata const &);
 
        /* no copy construction */
        SoundAssetWriter (SoundAssetWriter const &);
@@ -90,6 +90,7 @@ public:
                int fps,
                int intrinsic_duration,
                bool encrypted,
+               bool interop,
                MXFMetadata const & metadata = MXFMetadata ()
                );
 
@@ -113,6 +114,7 @@ public:
                int intrinsic_duration,
                int channels,
                bool encrypted,
+               bool interop,
                MXFMetadata const & metadata = MXFMetadata ()
                );
 
@@ -129,13 +131,8 @@ public:
                int sampling_rate
                );
 
-       boost::shared_ptr<SoundAssetWriter> start_write (MXFMetadata const & metadata = MXFMetadata ());
+       boost::shared_ptr<SoundAssetWriter> start_write (bool, MXFMetadata const & metadata = MXFMetadata ());
        
-       /** Write details of this asset to a CPL XML node.
-        *  @param node Node.
-        */
-       void write_to_cpl (xmlpp::Node* node) const;
-
        bool equals (boost::shared_ptr<const Asset> other, EqualityOptions opt, boost::function<void (NoteType, std::string)> note) const;
 
        boost::shared_ptr<const SoundFrame> get_frame (int n) const;
@@ -150,8 +147,9 @@ public:
 
 private:
        std::string key_type () const;
-       void construct (boost::function<std::string (Channel)> get_path, MXFMetadata const &);
+       void construct (boost::function<std::string (Channel)> get_path, bool interop, MXFMetadata const &);
        std::string path_from_channel (Channel channel, std::vector<std::string> const & files);
+       std::string cpl_node_name () const;
 
        /** Number of channels in the asset */
        int _channels;