Add comments.
[libdcp.git] / src / reel_sound_asset.cc
index 984434ddc26d93b8a49c59ac1f3309e8451afa8e..55167d827b3e7c704e6062f882a31883b7699392 100644 (file)
@@ -28,14 +28,14 @@ using std::string;
 using boost::shared_ptr;
 using namespace dcp;
 
-ReelSoundAsset::ReelSoundAsset (boost::shared_ptr<Content> content, int64_t entry_point)
-       : ReelAsset (content, entry_point)
+ReelSoundAsset::ReelSoundAsset (shared_ptr<SoundMXF> content, int64_t entry_point)
+       : ReelMXFAsset (content, content->edit_rate(), content->intrinsic_duration(), entry_point)
 {
 
 }
 
-ReelSoundAsset::ReelSoundAsset (boost::shared_ptr<const cxml::Node> node)
-       : ReelAsset (node)
+ReelSoundAsset::ReelSoundAsset (shared_ptr<const cxml::Node> node)
+       : ReelMXFAsset (node)
 {
        node->ignore_child ("Language");
        node->done ();
@@ -46,3 +46,9 @@ ReelSoundAsset::cpl_node_name () const
 {
        return "MainSound";
 }
+
+string
+ReelSoundAsset::key_type () const
+{
+       return "MDAK";
+}