Support MCA sound channel tags in MXF/CPL.
[libdcp.git] / src / sound_asset_writer.h
index f1b1514d800830275b828b549ff5b244a16a5f2c..d3b260e6a55c2eea5ef40595a462d365a3e54f5d 100644 (file)
@@ -70,8 +70,9 @@ private:
        friend class SoundAsset;
        friend struct ::sync_test1;
 
-       SoundAssetWriter (SoundAsset *, boost::filesystem::path, bool sync);
+       SoundAssetWriter (SoundAsset *, boost::filesystem::path, std::vector<Channel> active_channels, bool sync);
 
+       void start ();
        void write_current_frame ();
        std::vector<bool> create_sync_packets ();
 
@@ -90,6 +91,8 @@ private:
        /** index of the sync packet (0-3) which starts the next edit unit */
        int _sync_packet;
        FSK _fsk;
+
+       std::vector<Channel> _active_channels;
 };
 
 }