diff options
Diffstat (limited to 'src/sound_asset.cc')
| -rw-r--r-- | src/sound_asset.cc | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc index 0b22b4f5..9dba4ed6 100644 --- a/src/sound_asset.cc +++ b/src/sound_asset.cc @@ -28,6 +28,14 @@ using namespace std; using namespace boost; using namespace libdcp; +/** Construct a SoundAsset, generating the MXF from the WAV files. + * This may take some time; progress is indicated by emission of the Progress signal. + * @param files Pathnames of sound files, in the order Left, Right, Centre, Lfe (sub), Left surround, Right surround. + * @param p Pathname of MXF file to create. + * @param fps Frames per second. + * @param len Length in frames. + */ + SoundAsset::SoundAsset (list<string> const & files, string p, int fps, int len) : Asset (p, fps, len) { @@ -116,6 +124,10 @@ SoundAsset::SoundAsset (list<string> const & files, string p, int fps, int len) _digest = make_digest (_mxf_path); } +/** Write details of this asset to a CPL stream. + * @param s Stream. + */ + void SoundAsset::write_to_cpl (ostream& s) const { |
