summaryrefslogtreecommitdiff
path: root/src/sound_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-07-17 21:09:39 +0100
committerCarl Hetherington <cth@carlh.net>2012-07-17 21:09:39 +0100
commit82d22d7ff5328fae4f2e3048e63a2b11f3ce36b4 (patch)
tree82bdbe0285f159bcfd8204d53efe938bd5999095 /src/sound_asset.cc
parent4709b2fe88040f3678560997726f3a209eacc660 (diff)
Doc fixes.
Diffstat (limited to 'src/sound_asset.cc')
-rw-r--r--src/sound_asset.cc20
1 files changed, 6 insertions, 14 deletions
diff --git a/src/sound_asset.cc b/src/sound_asset.cc
index 50bf463c..8c85f9df 100644
--- a/src/sound_asset.cc
+++ b/src/sound_asset.cc
@@ -17,6 +17,10 @@
*/
+/** @file src/sound_asset.cc
+ * @brief An asset made up of WAV files
+ */
+
#include <iostream>
#include <stdexcept>
#include <boost/filesystem.hpp>
@@ -28,16 +32,8 @@ 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, sigc::signal1<void, float>* progress, int fps, int len)
- : Asset (p, progress, fps, len)
+SoundAsset::SoundAsset (list<string> const & files, string mxf_path, sigc::signal1<void, float>* progress, int fps, int length)
+ : Asset (mxf_path, progress, fps, length)
{
ASDCP::Rational asdcp_fps (_fps, 1);
@@ -124,10 +120,6 @@ SoundAsset::SoundAsset (list<string> const & files, string p, sigc::signal1<void
_digest = make_digest (_mxf_path, _progress);
}
-/** Write details of this asset to a CPL stream.
- * @param s Stream.
- */
-
void
SoundAsset::write_to_cpl (ostream& s) const
{