summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-11 21:21:38 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-17 20:13:23 +0100
commit9df315a026b7c30ee416a090c583e01f65b86d03 (patch)
treed4e21aea9319a319b7ec691cb8d6f2839a899daf /src
parente668388d1a552c845dbe9ae3cdcdfd979f2da582 (diff)
Give simple_{picture,sound} a length parameter and fix crazy implementation of simple_sound().
Diffstat (limited to 'src')
-rw-r--r--src/sound_asset.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound_asset.h b/src/sound_asset.h
index d4b41a1a..69f74c6a 100644
--- a/src/sound_asset.h
+++ b/src/sound_asset.h
@@ -51,7 +51,7 @@ namespace dcp {
}
extern std::shared_ptr<dcp::SoundAsset> simple_sound (
- boost::filesystem::path path, std::string suffix, dcp::MXFMetadata mxf_meta, std::string language
+ boost::filesystem::path path, std::string suffix, dcp::MXFMetadata mxf_meta, std::string language, int frames
);
@@ -106,7 +106,7 @@ 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
+ boost::filesystem::path path, std::string suffix, dcp::MXFMetadata mxf_meta, std::string language, int frames
);
std::string pkl_type (Standard standard) const {