MXF -> Asset in lots of places.
[libdcp.git] / src / reel_sound_asset.h
index 9266742944d061c89bbb3c8b6b5930da3a06f65f..d7eee59d8301f96ef6219b06ba9aea1c0a3699c8 100644 (file)
@@ -22,7 +22,7 @@
  */
 
 #include "reel_mxf_asset.h"
-#include "sound_mxf.h"
+#include "sound_asset.h"
 #include <boost/shared_ptr.hpp>
 #include <string>
 
@@ -34,19 +34,19 @@ namespace dcp {
 class ReelSoundAsset : public ReelMXFAsset
 {
 public:
-       ReelSoundAsset (boost::shared_ptr<dcp::SoundMXF> content, int64_t entry_point);
+       ReelSoundAsset (boost::shared_ptr<dcp::SoundAsset> content, int64_t entry_point);
        ReelSoundAsset (boost::shared_ptr<const cxml::Node>);
 
        void write_to_cpl (xmlpp::Node* node, Standard standard) const;
 
-       /** @return the SoundMXF that this object refers to */
-       boost::shared_ptr<SoundMXF> mxf () {
-               return boost::dynamic_pointer_cast<SoundMXF> (_asset.object ());
+       /** @return the SoundAsset that this object refers to */
+       boost::shared_ptr<SoundAsset> asset () {
+               return boost::dynamic_pointer_cast<SoundAsset> (_asset_ref.object ());
        }
 
-       /** @return the SoundMXF that this object refers to */
-       boost::shared_ptr<const SoundMXF> mxf () const {
-               return boost::dynamic_pointer_cast<const SoundMXF> (_asset.object ());
+       /** @return the SoundAsset that this object refers to */
+       boost::shared_ptr<const SoundAsset> asset () const {
+               return boost::dynamic_pointer_cast<const SoundAsset> (_asset_ref.object ());
        }
        
 private: