diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-07-17 17:53:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-07-17 17:53:08 +0100 |
| commit | 22c2111406075c98a2bf5feeaa92fa16293bc15a (patch) | |
| tree | a8770a0449205e4023d66aef91b674ccbf123343 /src/sound_asset.cc | |
| parent | b6718fb437f242fd5127194d4c94e39d71c5e1ad (diff) | |
Some comments.
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 { |
