summaryrefslogtreecommitdiff
path: root/test/test.h
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 /test/test.h
parent338302bb147396c7956cf658f68c574f56c74fa8 (diff)
Add channels parameter to simple_audio().
Diffstat (limited to 'test/test.h')
-rw-r--r--test/test.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test.h b/test/test.h
index 339dd8aa..82e6afd5 100644
--- a/test/test.h
+++ b/test/test.h
@@ -56,7 +56,8 @@ extern std::shared_ptr<dcp::SoundAsset> simple_sound (
std::string language,
int frames = 24,
int sample_rate = 48000,
- boost::optional<dcp::Key> key = boost::optional<dcp::Key>()
+ boost::optional<dcp::Key> key = boost::optional<dcp::Key>(),
+ int channels = 6
);
extern std::shared_ptr<dcp::Subtitle> simple_subtitle ();
extern std::shared_ptr<dcp::ReelMarkersAsset> simple_markers (int frames = 24);