summaryrefslogtreecommitdiff
path: root/src/sound_asset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound_asset.h')
-rw-r--r--src/sound_asset.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/sound_asset.h b/src/sound_asset.h
index 91a213b8..d4b41a1a 100644
--- a/src/sound_asset.h
+++ b/src/sound_asset.h
@@ -45,6 +45,16 @@
#include "sound_frame.h"
#include "sound_asset_reader.h"
+
+namespace dcp {
+ class SoundAsset;
+}
+
+extern std::shared_ptr<dcp::SoundAsset> simple_sound (
+ boost::filesystem::path path, std::string suffix, dcp::MXFMetadata mxf_meta, std::string language
+ );
+
+
namespace dcp
{
@@ -95,6 +105,9 @@ public:
private:
friend class SoundAssetWriter;
+ friend std::shared_ptr<dcp::SoundAsset> (::simple_sound) (
+ boost::filesystem::path path, std::string suffix, dcp::MXFMetadata mxf_meta, std::string language
+ );
std::string pkl_type (Standard standard) const {
return static_pkl_type (standard);