projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bv2.1 6.2.1: Check that the sound MXF Language tag conforms to RFC 5646.
[libdcp.git]
/
src
/
sound_asset.h
diff --git
a/src/sound_asset.h
b/src/sound_asset.h
index 91a213b85736bcf833c74f03b20591f121692add..d4b41a1a47f6f41e93091248e84a80d4a00d6d3c 100644
(file)
--- a/
src/sound_asset.h
+++ b/
src/sound_asset.h
@@
-45,6
+45,16
@@
#include "sound_frame.h"
#include "sound_asset_reader.h"
#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
{
namespace dcp
{
@@
-95,6
+105,9
@@
public:
private:
friend class SoundAssetWriter;
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);
std::string pkl_type (Standard standard) const {
return static_pkl_type (standard);