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/encryption_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/encryption_test.cc')
| -rw-r--r-- | test/encryption_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/encryption_test.cc b/test/encryption_test.cc index 93cea8dc..2b9a6bea 100644 --- a/test/encryption_test.cc +++ b/test/encryption_test.cc @@ -114,7 +114,7 @@ BOOST_AUTO_TEST_CASE (encryption_test) channels[0] = buffer; while (true) { auto N = sf_readf_float (sndfile, buffer, 4096); - sound_writer->write (channels, N); + sound_writer->write(channels, 1, N); if (N < 4096) { break; } |
