*/
#include "reel_mxf_asset.h"
-#include "sound_mxf.h"
+#include "sound_asset.h"
#include <boost/shared_ptr.hpp>
#include <string>
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: