summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-01-24 00:54:25 +0100
committerCarl Hetherington <cth@carlh.net>2023-01-24 00:54:25 +0100
commitb489c7ad24303799a32412e160fe27c4e9eddb29 (patch)
tree3dd84a4f5079807fe84c05234c75a8a28e6833e7 /src
parent338302bb147396c7956cf658f68c574f56c74fa8 (diff)
Add channels parameter to simple_audio().
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 c943d88b..717aab82 100644
--- a/src/sound_asset.h
+++ b/src/sound_asset.h
@@ -55,7 +55,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, int frames, int sample_rate, boost::optional<dcp::Key>
+ boost::filesystem::path path, std::string suffix, dcp::MXFMetadata mxf_meta, std::string language, int frames, int sample_rate, boost::optional<dcp::Key>, int channels
);
@@ -112,7 +112,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, int frames, int sample_rate, boost::optional<dcp::Key>
+ boost::filesystem::path path, std::string suffix, dcp::MXFMetadata mxf_meta, std::string language, int frames, int sample_rate, boost::optional<dcp::Key>, int channels
);
std::string pkl_type (Standard standard) const override {