summaryrefslogtreecommitdiff
path: root/src/reel_sound_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-02-12 23:25:57 +0000
committerCarl Hetherington <cth@carlh.net>2014-02-12 23:25:57 +0000
commite8c4fd0e0581849fcf41d918e79b00b84fe24d70 (patch)
tree0e087c053238118dc89ff49a0fb6dff838a6ad8a /src/reel_sound_asset.h
parent6161444eab9e0c22c4a42a1b254745b8bee82b50 (diff)
Various small fixes.
Diffstat (limited to 'src/reel_sound_asset.h')
-rw-r--r--src/reel_sound_asset.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/reel_sound_asset.h b/src/reel_sound_asset.h
index fb233016..42835c84 100644
--- a/src/reel_sound_asset.h
+++ b/src/reel_sound_asset.h
@@ -40,6 +40,10 @@ public:
boost::shared_ptr<SoundMXF> mxf () {
return boost::dynamic_pointer_cast<SoundMXF> (_content.object ());
}
+
+ boost::shared_ptr<const SoundMXF> mxf () const {
+ return boost::dynamic_pointer_cast<const SoundMXF> (_content.object ());
+ }
private:
std::string cpl_node_name () const;