SoundAsset (boost::filesystem::path directory, boost::filesystem::path mxf_name);
void read ();
+
+ /** The following parameters must be set up (if required) before calling this:
+ * Interop mode (set_interop)
+ * Edit rate (set_edit_rate)
+ * MXF Metadata (set_metadata)
+ * Channels (set_channels)
+ * Intrinsic duration (set_intrinsic_duration)
+ */
void create (std::vector<boost::filesystem::path> const & files);
+
+ /** The following parameters must be set up (if required) before calling this:
+ * Interop mode (set_interop)
+ * Edit rate (set_edit_rate)
+ * MXF Metadata (set_metadata)
+ * Channels (set_channels)
+ * Intrinsic duration (set_intrinsic_duration)
+ */
void create (boost::function<boost::filesystem::path (Channel)> get_path);
boost::shared_ptr<SoundAssetWriter> start_write ();
return _sampling_rate;
}
+protected:
+
+ std::string asdcp_kind () const {
+ return "Sound";
+ }
+
private:
std::string key_type () const;
void construct (boost::function<boost::filesystem::path (Channel)> get_path);