diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-03-16 19:51:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-03-16 19:52:06 +0100 |
| commit | c1d296b163ddf88a5b387f98e7e77988a242a996 (patch) | |
| tree | 4edbcca02dd8bfebdd9530eaad7004dfbb79d125 /test/decryption_test.cc | |
| parent | 53b444191fddd72416647ec9d24aff1e317a1824 (diff) | |
Specify number of channels in the data passed to SoundAssetWriter, and pad channels that aren't there.
Diffstat (limited to 'test/decryption_test.cc')
| -rw-r--r-- | test/decryption_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/decryption_test.cc b/test/decryption_test.cc index be688908..c24402bf 100644 --- a/test/decryption_test.cc +++ b/test/decryption_test.cc @@ -175,7 +175,7 @@ BOOST_AUTO_TEST_CASE (decryption_test2) std::array<float*, 2> audio; audio[0] = left.data(); audio[1] = right.data(); - sound_writer->write (audio.data(), 48000); + sound_writer->write(audio.data(), 2, 48000); sound_writer->finalize (); auto subs_asset = std::make_shared<dcp::SMPTESubtitleAsset>(); |
