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/mca_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/mca_test.cc')
| -rw-r--r-- | test/mca_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mca_test.cc b/test/mca_test.cc index 12b4f2c6..fc5dda25 100644 --- a/test/mca_test.cc +++ b/test/mca_test.cc @@ -104,7 +104,7 @@ BOOST_AUTO_TEST_CASE (write_mca_descriptors_to_mxf_test) memset (samples[i], 0, 2000 * sizeof(float)); } for (int i = 0; i < 24; ++i) { - writer->write(samples, 2000); + writer->write(samples, 6, 2000); } for (int i = 0; i < 6; ++i) { delete[] samples[i]; |
